GDI Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the GDI messages.

Programming element Description

WM_PAINT

Sent by an application when Windows or another application makes a request to paint a portion of an application's window.

WM_PALETTECHANGED

Sent by the OS to all top-level and overlapped windows after the window with the keyboard focus realizes its logical palette.

WM_QUERYNEWPALETTE

Informs a window that it is about to receive the keyboard focus, giving the window the opportunity to realize its logical palette when it receives the focus.

WM_SETREDRAW

Is sent by an application to a window to enable changes in that window to be redrawn or to prevent changes in that window from being redrawn.

WM_SYSCOLORCHANGE

Is sent to all top-level windows when a change is made to a system color setting.

See Also

Reference

GDI Reference