wpSetupCell
Appearance
This instance method is called to initialize a cell.
Syntax
_wpSetupCell(somSelf, pCellData, cb, x, y)
Parameters
- somSelf (WPPalette *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPPalette.
- pCellData (PVOID) - input
- Pointer to the data to be stored.
- cb (ULONG) - input
- Size of the data to be stored.
- x (ULONG) - input
- X-coordinate of the cell to be set up.
- y (ULONG) - input
- Y-coordinate of the cell to be set up.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time in order to initialize a cell.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPPalette *somSelf; /* Pointer to the object on which the method is being invoked. */
PVOID pCellData; /* Pointer to the data to be stored. */
ULONG cb; /* Size of the data to be stored. */
ULONG x; /* X-coordinate of the cell to be set up. */
ULONG y; /* Y-coordinate of the cell to be set up. */
BOOL rc; /* Success indicator. */
rc = _wpSetupCell(somSelf, pCellData, cb,
x, y);