wpInitCellStructs - Syntax

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.

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


[Back: wpInitCellStructs]
[Next: wpInitCellStructs Parameter - somSelf]