How can I check to see if a window has the WS_DISABLED style...
I know about the GetStyle() which returns a DWORD, but what I am not sure about is how to tell if a specific style is being used.
Printable View
How can I check to see if a window has the WS_DISABLED style...
I know about the GetStyle() which returns a DWORD, but what I am not sure about is how to tell if a specific style is being used.
I think you can use something like this:
PHP Code:if(GetWindowLong(HWND,GWL_STYLE) & WS_DISABLED)
//window is disabled