Jump to content

wpInitCellStructs

From EDM2

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

Related Methods