GpiSetColor
Appearance
Sets the color for all subsequently drawn graphics primitives.
Syntax
GpiSetColor(hps, lColor)
Parameters
Returns
Errors
Remarks
Example Code
#define INCL_GPIPRIMITIVES /* Or use INCL_GPI, INCL_PM, Also in COMMON section */ #include <os2.h> HPS hps; /* Presentation-space handle. */ LONG lColor; /* Color. */ BOOL rc; /* Success indicator. */ rc = GpiSetColor(hps, lColor);