Hi ppl.
How I do to get a resource name please? For example: in workshop I have a "Listbox" resource. I need know that the control name is "listbox" when I redefine it.
Thanks and regards,
Toninho.
#define GW_CHILD 5
#define GW_HWNDNEXT 2
DEFINE DIALOG oDlg RESOURCE "Test"
ACTIVATE DIALOG oDlg ON INIT CheckControls( oDlg:hWnd )
...
function CheckControls( hWnd )
local hCtrl := GetWindow( hWnd, GW_CHILD )
while hCtrl != 0
MsgInfo( GetClassName( hCtrl )
hCtrl = GetWindow( hCtrl, GW_HWNDNEXT )
end
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 55 guests