WinXGetUseableRect


WinXGetUseableRect (hWnd, RECT @rect)

Gets the useable portion of the window client area, that is, the rectangle not obscured by rebars, toolbars and status bars.

Parameter Description
hWnd The handle to the window to get the useable rectangle of
RECT @rect The RECT structure to store the information in. This is passed by reference and filled in by the function.

Returns

$$TRUE on success or $$FALSE on fail

Remarks

This function won't be very usefull in the future when I improve the auto sizer. I do not recomend you use this function.

Examples

'make a rect structure
RECT rect

...

'fill it in
WinXGetUseableRect (#hMain, @rect)

Related Links