News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

HOw to disable a dialog button

Started by gurangax, January 17, 2008, 10:46:20 AM

Previous topic - Next topic

gurangax

Hi,

I'm still new to windows programming acctualy. Can someone please tell me how can I disable a button from being clicked. I learned some codes but they don't work. Thanks guys.

Sevag.K

w.EnableWindow ( button_handle, true/false );

To get the button handle from a resource ID, use:
w.GetDlgItem( dialog_handle, button_id );


gurangax