Sign in to follow this  
Followers 0
devrandom

Disable controls made with Win32 API.

3 posts in this topic

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



#2 ·  Posted (edited)

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

Edited by Mat

Share this post


Link to post
Share on other sites

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  
Followers 0