The WM_ICONERASEBKGND message is sent to a minimized window when the background of the icon must be filled before painting the icon. A window receives this message only if a class icon is defined for the window; otherwise, WM_ERASEBKGND is sent.
WM_ICONERASEBKGND hdc = (HDC) wParam; // handle of device context
An application should return nonzero if it processes this message.
The DefWindowProc function fills the icon background with the class background brush of the parent window.
file: /Techref/os/win/api/win32/mess/src/msg24_14.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/1 01:31,
18.224.59.107:LOG IN
|
©2024 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://sxlist.com/TECHREF/os/win/api/win32/mess/src/msg24_14.htm"> WM_ICONERASEBKGND</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.