wpclsSetSettingsPageSize
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This class method returns the default Settings page size.
Syntax
_wpclsSetSettingsPageSize(somSelf, pSizel);
Parameters
- somSelf (M_WPObject *) - input
- Pointer to the WPObject class object.
- pSizel (PSIZEL) - input
- Pointer to the structure containing the default width and height of the Settings page.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
How to Override
This method is generally not overridden.
Example Code
Declaration:
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ PSIZEL pSizel; /* Pointer to the structure containing the default width and height of the Settings page. */ BOOL rc; /* Success indicator. */ rc = _wpclsSetSettingsPageSize(somSelf, pSizel);