Is there a function with which I can determine if a window has minimize button, given the window handle?
Printable View
Is there a function with which I can determine if a window has minimize button, given the window handle?
Maybe something like this, not sure though:
Code:if(GetWindowLong( hWnd,GWL_STYLE) & WS_MINIMIZEBOX)
{
//do something
}
It works. Thanx much. ;)