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
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.