wpPaintPalette
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method is called to paint the given palette window.
Syntax
wpPaintPalette(somSelf, hps, prcl)
Parameters
- somSelf (WPPalette *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPPalette.
- hps (HPS) - input
- Handle to the paint presentation space.
- prcl (PRECTL *) - input
- Pointer to the coordinates of the palette window to be painted.
Returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method is not covered in the provided text.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPPalette *somSelf; /* Pointer to the object on which the method is being invoked. */ HPS hps; /* Handle to the paint presentation space. */ PRECTL *prcl; /* Pointer to the coordinates of the palette window to be painted. */ wpPaintPalette(somSelf, hps, prcl);