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