This function sets the background and foreground colors of the displayed text.
#define INCL_DDF #include <os2.h> HDDF hddf; /* Handle to DDF returned by DdfInitialize. */ COLOR fBackColor; /* Specifies the desired background color. */ COLOR fForColor; /* Specifies the desired foreground color. */ BOOL rc; /* Success indicator. */ rc = DdfSetColor(hddf, fBackColor, fForColor);