WM_PALETTEISCHANGING

WM_PALETTEISCHANGING

hwndRealize = (HWND)wParam; /* window to realize palette */

The WM_PALETTEISCHANGING message informs applications that an application is going to realize its logical palette.

Parameters

hwndRealize

Value of wParam. Specifies the handle of the window that is going to realize its logical palette.

Return Value

An application should return zero if it processes this message.

Comments

The application changing its palette does not wait for acknowledgment of this message before changing the palette and sending the WM_PALETTECHANGED message. As a result, the palette may already be changed by the time an application receives this message.

See Also

WM_PALETTECHANGED, WM_QUERYNEWPALETTE