WM_CTLINIT

Sent to the parent of a bedit, hedit, or iedit control while the control is being created in order to get extra information about the control.

Parameters

wParam

Type of control. This parameter can be CTLINIT_BEDIT, CTLINIT_IEDIT, or CTLINIT_HEDIT.

lParam

Address of a control structure, depending on wParam. For values of CTLINIT_BEDIT, CTLINIT_HEDIT, or CTLINIT_IEDIT in wParam, lParam points to either a CTLINITBEDIT1AOCW8, CTLINITHEDIT1AOCW9, or CTLINITIEDIT1AOCW0 structure, respectively.

Comments

Each of the CTLINIT structures has its first three members already initialized: cbSize (size of the structure), hwnd (handle to the control window), and id (child identifier of the control). The parent of the control can set appropriate values to the rest of the members in the structure and the control will then use those values when initializing itself.

See Also

CTLINITHEDIT