Jump to content

WpInsertSettingsPage

From EDM2

This instance method is called to insert a page into the object's Settings notebook.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject  *somSelf;       /* Pointer to the object on which the method is being invoked. */
HWND       hwndNotebook;  /* Handle to the Settings notebook. */
PPAGEINFO  ppageinfo;     /* Pointer to the notebook page information. */
ULONG      ulPageId;      /* Page identifier for the inserted page. */

ulPageId = _wpInsertSettingsPage(somSelf, hwndNotebook, ppageinfo);