wpAddDMQSDisplayTypePage
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method is called to add the DMQS Display Type page to the Settings notebook.
Syntax
_wpAddDMQSDisplayTypePage(somSelf, hwndNotebook)
Parameters
- somSelf (WPSystem *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPSystem.
- hwndNotebook (HWND) - input
- Window handle to the Settings notebook.
Returns
- ulPageId (ULONG) - returns
- Identifier for the inserted page.
- A return value of 0 indicates that the DMQS Display Type page was not added to the Settings notebook.
How to Override
This method should always be overridden to replace or remove the DMQS Display Type page from an object which is a descendant of WPSystem. An override of this method does not call the parent.
Usage
This method can be called at any time.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ HWND hwndNotebook; /* Window handle to the Settings notebook. */ ULONG ulPageId; /* Identifier for the inserted page. */ ulPageId = _wpAddDMQSDisplayTypePage(somSelf, hwndNotebook);