Page 1 of 1

PostPosted: Thu Jan 16, 2003 2:32 am
by FrappyDan
How do you get this message accross to the button? I have been unsuccessful getting the WS_ENABLE or WS_VISIBLE to a button. I don't see such an equivelent for button messages except BM_DISABLE, I think it was. 8)I need a bit of help here.


PostPosted: Thu Jan 16, 2003 8:21 am
by guy
You use the EnableWindow() function. You can't do it with messages.

EnableWindow(gethwnd(guiid), 0) ; // Disable
EnableWindow(gethwnd(guiid), 1) ; // Enable

EnableWindow() is defined in winuser.h

PocketC CE API interface:
PCForm and CE API forum: