CMouseAdapter Class
class CMouseAdapter: public CEventListenerBase
The mouse adapter class supplies a default implementation of the IMouseListener interface. The HandleEvent function deciphers the event and maps it to a member function for handling. This class supplies a default implementation for all handler messages in the IMouseListener interface that always return FALSE. Mouse listeners can be derived from this class that override and implement only the handlers they are interested in.Defined in: MouseListener.h
Class Members
inline virtual bool OnLButtonDown(UINT nFlags, POINT pt)
Handle left mouse button down events.
inline virtual bool OnLButtonUp(UINT nFlags, POINT pt)
Handle left mouse button up events.
inline virtual bool OnLButtonDblClk(UINT nFlags, POINT pt)
Handle left mouse button double click events.
inline virtual bool OnRButtonDown(UINT nFlags, POINT pt)
Handle right mouse button down events.
inline virtual bool OnRButtonUp(UINT nFlags, POINT pt)
Handle right mouse button up events.
inline virtual bool OnRButtonDblClk(UINT nFlags, POINT pt)
Handle right mouse button double click events.
inline virtual bool OnMouseMove(UINT nFlags, POINT pt)
Handle mouse move events.
inline virtual bool OnSetCursor( HWND hWnd, UINT nHitTest, UINT message )
Handles mouse set cursor events.