typedef struct _EXTCHKBOX { WORD cbSize; WORD Flags; LPTSTR pTitle; LPTSTR pSeparator; LPTSTR pCheckedName; DWORD IconID; WORD wReserved[4]; DWORD dwReserved[2]; } EXTCHKBOX, *PEXTCHKBOX;
The EXTCHKBOX structure describes the extended check box available to an option item. Each option item can optionally have one extended push button or one extended check box callback. A selection item with an extended check box can be checked or unchecked, based on user input.
Flag |
Description |
ECBF_CHECKNAME_ |
The CPSUI displays the strings associated with this extended check box as follows in the treeview: “pCheckedName pSeparator SelectName”, where SelectName is the string associated with the selected option item. By default, the CPSUI displays the check box treeview strings as “SelectName pSeparator pCheckedName”. |
ECBF_CHECKNAME_ |
If this check box is visible and enabled, the CPSUI displays only the string to which pCheckedName points in the treeview. |
ECBF_ICONID_AS_HICON |
The CPSUI interprets IconID as a handle to an icon rather than as a resource ID. |
ECBF_OVERLAY_ |
The CPSUI overlays its IDI_CPSUI_WARNING icon on the icon associated with this check box. |
ECBF_OVERLAY_ |
The CPSUI overlays the icon associated with this check box on the icon associated with the option item if the check box is checked. |
ECBF_OVERLAY_ |
The CPSUI overlays the IDI_CPSUI_STOP icon on the icon associated with this check box. |
ECBF_OVERLAY_ |
The CPSUI overlays its IDI_CPSUI_NO icon on the icon associated with this check box. |
The EXTCHKBOX structure describes the extended check box available to an option item.
The pTitle parameter is either a pointer to a null-terminated string or an integer value that specifies a resource identifier. If pTitle specifies a resource identifier, its high-order word must be zero and its low-order word must contain the identifier. This is also true for the pCheckedName parameter.