WpclsSetSettingsPageSize: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpclsSetSettingsPageSize}} 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) - r..." |
No edit summary |
||
Line 30: | Line 30: | ||
rc = _wpclsSetSettingsPageSize(somSelf, pSizel); | rc = _wpclsSetSettingsPageSize(somSelf, pSizel); | ||
</pre> | </pre> | ||
[[Category:Workplace Class Methods]] |
Latest revision as of 22:08, 25 May 2025
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);