Jump to content

wpclsSetSettingsPageSize

From EDM2
Revision as of 22:08, 25 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);