The WM_PALETTEISCHANGING message informs applications that an application is going to realize its logical palette.
WM_PALETTEISCHANGING hwndRealize = (HWND) wParam; // window to realize palette
If an application processes this message, it should return zero.
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.
If the application either ignores or fails to process this message and a second application realizes its palette while the first is using palette indices, there is a strong possibility that the user will see unexpected colors during subsequent drawing operations.
WM_PALETTECHANGED, WM_QUERYNEWPALETTE
See:
file: /Techref/os/win/api/win32/mess/src/msg26_25.htm, 1KB, , updated: 2001/6/26 10:42, local time: 2025/5/4 16:27,
3.140.242.43:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/tecHREF/os/win/api/win32/mess/src/msg26_25.htm"> WM_PALETTEISCHANGING</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.