This member function is called by the framework when a child control is about to be drawn.
afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CDC::SetBkColor