OPTPAGEINSERTSTRUCT Structure |
The OPTPAGEINSERTSTRUCT structure contains information about a option panel dialog. When a plug-in wants to add a panel to the options dialog it sends a PLG_ADD_OPT_PAGE message with a OPTPAGEINSERTSTRUCT structure that describes the panel to be added.
typedef struct tagOPTPAGEINSERTSTRUCT { UINT unDialogID; DLGPROC lpDialogFunc; LPCTSTR lpszTreePath; LPARAM lParam; HINSTANCE hPgInst; } OPTPAGEINSERTSTRUCT, *POPTPAGEINSERTSTRUCT, FAR *LPOPTPAGEINSERTSTRUCT; |
Members
- unDialogID
- Resource id of the dialog to be inserted.
- lpDialogFunc
- Pointer to the dialogs callback function.
- lpszTreePath
- NULL terminated string that indicates path of the dialog in the main option dialogs tree.
- lParam
- Data to be passed to the option panel on WM_INITDIALOG.
- hPgInst
- The HINSTANCE that the dialog resource resides in.
Structure Information
Header plugin.h