CWindowPaintEvent Class

class CWindowPaintEvent: public CWinEventBase

This class encapsulates a Windows paint event.

Defined in: WindowEvents.h

Class Members

inline CWindowPaintEvent(const UINT nMessageID, const WPARAM wParam = 0, const LPARAM lParam = 0L)

Construct a size event from a message ID, WPARAM, and LPARAM.

inline virtual bool Dispatch(IQueryGuid* pIListener)

Dispatches the event to the given event listener.

inline virtual HDC GetDC() const

Return the device context.