CWnd::OnQueryNewPalette
The framework calls this member function when the CWnd object is about to receive the input focus, giving the CWnd an opportunity to realize its logical palette when it receives the focus.
afx_msg BOOL OnQueryNewPalette( );
Возвращаемое значение
Nonzero if the CWnd realizes its logical palette; otherwise 0.
Требования
Header: afxwin.h