CWnd::OnQueryNewPalette 

afx_msg BOOL OnQueryNewPalette( );

Return Value

Nonzero if the CWnd realizes its logical palette; otherwise 0.

Remarks

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.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::Default, CWnd::OnPaletteChanged, WM_QUERYNEWPALETTE