/**************************************************************************** * text_OnCtlColorEdit * Inputs: * HWND hwnd: Window handle of parent window * HDC hdc: Display context for child window * HWND hchild: Window handle of child window * int type: CTLCOLOR_EDIT is the only value we care about * Result: HBRUSH * Background brush, COLOR_BACKGROUND, always * NULL, always -- use default brush for class * Effect: * Sets the text color ****************************************************************************/ static HBRUSH text_OnCtlColorEdit( HWND hwnd, HDC hdc, HWND hchild, int type) { return FORWARD_WM_CTLCOLOREDIT(hchild, hdc, hchild, SendMessage); }
static HBRUSH text_OnCtlColorEdit( HWND hwnd, HDC hdc, HWND hchild, int type) { #if WIN_MCW #pragma unused(type) #pragma unused(hwnd) #endif return FORWARD_WM_CTLCOLOREDIT(hchild, hdc, hchild, SendMessage); }