This documentation is archived and is not being maintained.

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( );

Return Value

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

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::Default | CWnd::OnPaletteChanged | WM_QUERYNEWPALETTE

Show: