CreateDialogResizer(
HWND:hWnd,
int:iNumCtls,
LPDLGRESIZERCONTROL:pCtls
)
→ HANDLE
The CreateDialogResizer function creates a dialog resize helper, which repositions and resizes the controls in a dialog when the dialog is resized.
The DLGRESIZERCONTROL structure has the following fields:
| DlgResizerF_Right | Position relative to right side |
| DlgResizerF_Width | Width relative to width |
| DlgResizerF_Bottom | Position relative to bottom side |
| DlgResizerF_Height | Height relative to height |
| DlgResizerF_Window | Window rather than control ID |
| DlgResizerF_DiffParent | Control has a different parent window |
| DlgResizerF_NewParent | Specify a new parent window for subsequent items |
| DlgResizerF_LVColumn | Column for immediately previous listview (1-based) |
| DlgResizerF_Previous | Previous resizer to link to |
| DlgResizerF_LVColumnFill | Strictly use all remaining space on the specified column (1-based) for immediately previous listview. |