WinXRegControlSizer


WinXRegControlSizer (hWnd, FUNCADDR controlSizer)

Registers a callback function to manually resize a window's controls.

Parameter Description
hWnd The handle to the window to register the sizer for
FUNCADDR controlSizer The address of the controlSizer callback function

Returns

$$TRUE on success or $$FALSE on fail

Remarks

If you register a control sizer callback function, the built in Auto Sizer will be disabled. Your control sizer callback function is responsible for the entire task of sizing the child windows. This includes toolbars and status bars.

Examples

'Register a routine to customise the resizing of child controls
WinXRegControlSizer (#hMain, &controlSizer())

Related Links

controlSize (Callback)