i'm just curious if there was a way to enable/disable a button created from a resource file without having to call findwindow and findwindoex first?
invoke EnableWindow,IDC_BUTTON_TEST,0
that doesn't work, since IDC_BUTTON isn't the handle to the button ;x
any clues, or should i use findwindow to find my own control's handle? since its created inside a dialog, inside a resource
invoke EnableWindow,IDC_BUTTON_TEST,0
that doesn't work, since IDC_BUTTON isn't the handle to the button ;x
any clues, or should i use findwindow to find my own control's handle? since its created inside a dialog, inside a resource
nm, i did a search and see u gotta use the getdlgitem api to get the handle ;]