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
Posted on 2003-04-05 00:24:47 by xkardisx
nm, i did a search and see u gotta use the getdlgitem api to get the handle ;]
Posted on 2003-04-05 00:27:36 by xkardisx