Jump to content

Disable controls made with Win32 API.


Recommended Posts

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))?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...