Advanced Auto Sizer


The parameters in WinXAutoSizer_SetSimpleInfo reserve a box in which the control will be rendered. The WinXAutoSizer_SetInfo function has the same parameters as WinXAutoSizer_SetSimpleInfo, apart from the addition of the x, y, w and h parameters. These parameters deterimine the size and position of the control within the box reserved by the other parameters.

As with the space and size parameters; x, y, w and h are interpreted as proportions when they are <= 1 and absolute values when they are > 1. If x is < 0 then the control will be centered within its box horizontally. If y is < 0 then the control will be centered within its box vertically. There are several flags that affect the x, y, w and h parameters. These are documented along with the WinXAutoSizer_SetInfo.

Related Links

WinXAutoSizer_SetInfo
WinXAutoSizer_SetSimpleInfo