Share via


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.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::Default

CWnd::OnPaletteChanged

WM_QUERYNEWPALETTE