CWnd::OnPaletteChanged

This method is called by the framework for all top-level windows after the window with input focus has realized its logical palette, thereby changing the system palette. This call allows a window without the input focus that uses a color palette to realize its logical palettes and update its client area.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

afx_msg void OnPaletteChanged( CWnd* pFocusWnd );