Jump to content
Sign in to follow this  
devrandom

Disable controls made with Win32 API.

Recommended Posts

devrandom

Hello :huh2:

I'll ask here because there are a lot of C/C++ geeks.

I make a control with this code:

button_ok = CreateWindow (
                            "BUTTON",
                            "Ok",
                            WS_CHILD|
                            WS_VISIBLE,
                            10,
                            60,
                            280,
                            25,
                            window,
                            BUTTON_OK,
                            hInstance,
                            NULL
                        );

And now, how can I disable it as I can do with AutoIt (GUICtrlSetState($handle, $GUI_DISABLE))?

Share this post


Link to post
Share on other sites
Mat

http://msdn.microsoft.com/en-us/library/ms646291.aspx

Edited by Mat

Share this post


Link to post
Share on other sites
devrandom

Thank you.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×