Jump to content

wpSelectCell

From EDM2
Revision as of 04:08, 25 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpSelectCell}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method is called to select a given cell from a palette object. ==Syntax== wpSelectCell(somSelf, hwndPal, pCell) ==Parameters== ;''somSelf'' (WPPalette *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPPalette. ;''hwndPal'' (HWND) - input :Palette window handle. ;''pCell'' (PCEL...")
(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 instance method is called to select a given cell from a palette object.

Syntax

wpSelectCell(somSelf, hwndPal, pCell)

Parameters

somSelf (WPPalette *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPPalette.
hwndPal (HWND) - input
Palette window handle.
pCell (PCELL) - input
Cell pointer.

Returns

This method has no return value.

How to Override

This method can be overridden by all subclasses that wish to perform actions when a cell is selected.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPPalette *somSelf; /* Pointer to the object on which the method is being invoked. */
HWND hwndPal; /* Palette window handle. */
PCELL pCell; /* Cell pointer. */

_wpSelectCell(somSelf, hwndPal, pCell);

Related Methods