Happens when the inner area of the window needs to be redrawn.


Args

ARG(1) is a device context, which will need to be passed to other operating system functions you may call.


Notes

You do not need to redraw any of the controls inside your window. They do their own "painting". You need draw only items that you yourself display via various operating system functions (as opposed to letting some control render that item, such as a TEXT control to render text, or an ICON control to display an icon, etc). For example, if you use some operating system function to directly draw text in your window, then you would need to redraw that same text each time a PAINT event happens.

See also ACTIVATE.