Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>graystring</b> draw grayed text string http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GrayString           Draw Grayed Text String

BOOL GrayString(hDC, hBrush, lpOutFunc, lpData, nCount, X, Y, nWidth, nHeight)
HDC hDC;
HBRUSH hBrush; /* Used for graying */
FARPROC lpOutFunc; /* User supplied drawing function or NULL for TextOut */
DWORD lpData; /*Data passed to output function or string if lpOutFunc is NULL */
int nCount; /* Chars to output, if 0 GrayStrings calculates, if -1 &
                lpOutFunc returns zero image is shown but not grayed (?)*/
int X;
int Y;
int nWidth;
int nHeight;

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson