WpInitCellStructs: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpInitCellStructs}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method sets up the cell dimensions of a palette object based upon the current count of rows and columns. This method also allocates the cell structures if they are not present. ==Syntax== _wpInitCellStructs(somSelf) ==Parameters== ;''somSelf'' (WPPalette *) - input :Pointer to the object on which the method is being invoked. :Points to a..." |
(No difference)
|
Latest revision as of 02:43, 17 November 2025
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets up the cell dimensions of a palette object based upon the current count of rows and columns. This method also allocates the cell structures if they are not present.
Syntax
_wpInitCellStructs(somSelf)
Parameters
- somSelf (WPPalette *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPPalette.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPPalette *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL rc; /* Success indicator. */ rc = _wpInitCellStructs(somSelf);