With a resource editor I have drawn a static text box, a radio button and a push button on a dialog box. I set their defaults to visible but disabled. How do I enable them in code. What sendmessage do i send them to make them enabled??

invoke SendMessage,my_button,mesage??,param1??,param2??

tks, Dan
Posted on 2001-09-09 02:57:48 by SirDan
hBtn = handle of control

u might try a invoke EnableWindow,hBtn,TRUE
or the other way invoke EnableWindow,hBtn,FALSE
Posted on 2001-09-09 05:44:47 by Allanon
Thanks man.... it worked! I musta been stoned to miss EnableWindow.. :)
Posted on 2001-09-09 12:47:02 by SirDan