CWindowSizeEvent Class

class CWindowSizeEvent: public CWinEventBase

This class encapsulates a Windows size event. The LONG parameter of the Windows message contains the width and height specified by the size event.

Defined in: WindowEvents.h

Class Members

inline CWindowSizeEvent(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 UINT GetFlag() const

Return the resizing flag.

inline virtual long GetWidth() const

Return the width specified by the size message.

inline virtual long GetHeight() const

Return the width specified by the size message.