WindowBlinds : DirectSkin
QueryRollState
 

The QueryRollState method can be used to determine if a window has been rolled up or not by the user. It will return TRUE if it has and FALSE if it has not.

BOOL QueryRollState(
long
hWnd);

Parameters

hWnd
Handle to the window whose roll state is to be queried.

Return Values

 

This method will return TRUE if the window has been rolled up by the user, FALSE if not.

Remarks

The QueryRollState method is used to query the roll state of a window.  When a window is rolled, only it's title and border are visible.  The client area is not visible and the border has been resized, which gives a 'rolled' look..  The SetWindowRollState method can be used to set the roll state of a window.  This state is used internally by DirectSkin and has no effect on the visual representation of the window.

See Also

SetWindowRollState, QueryAOTState, SetAOTState