controlSizer (Callback)


controlSizer (hWnd, w, h)

This is a callback function used to implement a custom control resizer

Parameter Description
hWnd The handle to the window that is being resized
w The new width of the window
h The new height of the window

Returns

0

Remarks

This is a callback function. You must supply it yourself. To register this callback, use the WinXRegControlSizer function.

Examples

FUNCTION controlSizer (hWnd, w, h)

'move a single control to fill the entire window
MoveWindow (#hControl, 0, 0, w, h, $$TRUE)

END FUNCTION

Related Links

WinXRegControlSizer