Microsoft DirectX 8.1 (C++) |
The OnPaletteChange method handles palette-change messages.
Syntax
virtual LRESULT OnPaletteChange(
HWND hwnd,
UINT Message
);
Parameters
hwnd
Handle to the window.
Message
Message identifier.
Return Value
Returns 0 if the message was processed, or 1 if the message was not processed.
Remarks
This method handles WM_PALETTECHANGED and WM_QUERYNEWPALETTE messages. It calls the CBaseWindow::DoRealisePalette method to realize the new palette.
See Also