typedef struct _EXTPUSH { WORD cbSize; WORD Flags; LPTSTR pTitle; union { DLGPROC DlgProc; FARPROC pfnCallBack; } DWORD IconID; union { WORD DlgTemplateID; HANDLE hDlgTemplate; } DWORD dwReserved[3]; } EXTPUSH, *PEXTPUSH;
The EXTPUSH structure describes the extended push button available on an OPTITEM. Each option item can optionally have one extended push button callback or one extended check box callback.
Flag |
Description |
EPF_PUSH_TYPE_DLGPROC |
The extended push button has a DLGPROC function associated with it. The CPSUI uses the DlgProc and DlgTemplateID fields. |
EPF_INCLUDE_SETUP_TITLE |
The CPSUI appends “Setup” to the string to which pTitle points. |
EPF_NO_DOT_DOT_DOT |
The CPSUI does not append “…” to the string to which pTitle points. |
EPF_ICONID_AS_HICON |
The CPSUI interprets IconID as a handle to an icon rather than as a resource ID. |
EPF_OVERLAY_WARNING_ICON |
The CPSUI overlays its IDI_CPSUI_WARNING icon on the icon associated with this push button. |
EPF_OVERLAY_STOP_ICON |
The CPSUI overlays its IDI_CPSUI_STOP icon on the icon associated with this push button. |
EPF_OVERLAY_NO_ICON |
The CPSUI overlays its IDI_CPSUI_NO icon on the icon associated with this push button. |
EPF_USE_HDLGTEMPLATE |
The CPSUI uses the hDlgTemplate field to obtain the dialog box template. |
The EXTPUSH structure describes the extended push button available on an OPTITEM.
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.