Public Member Functions | Friends

MouseManager Class Reference

Search for all occurrences

Detailed Description

Represents the interface to the mouse manager and handling system and is used internally only. This class should not be instanced directly into plugin code. To retrieve a pointer to the mouse manager you can use the method Interface::GetMouseManager().

See also:
BaseInterfaceServer, MouseCallBack, Interface

#include <mouseman.h>

Inheritance diagram for MouseManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CoreExport  MouseManager ()
CoreExport  ~MouseManager ()
CoreExport int  SetMouseProc (MouseCallBack *mproc, int button, int numPoints=2)
CoreExport int  SetDragMode (int mode)
CoreExport int  GetDragMode ()
CoreExport int  SetNumPoints (int numPoints, int button)
CoreExport int  ButtonFlags ()
CoreExport void  Pan (IPoint2 p)
CoreExport LRESULT CALLBACK  MouseWinProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
CoreExport void  Reset ()
int  GetMouseMode ()
CoreExport void  SetCapture (HWND hWnd)
CoreExport HWND  HasCapture ()
CoreExport void  ReleaseCapture ()
CoreExport void  RestoreCapture ()
CoreExport void  SetMouseWindProcCallback (WNDPROC pMouseWindProc)
WNDPROC  GetMouseWindProcCallback () const

Friends

class  MouseManagerStateInterface
class  MouseOverride

Constructor & Destructor Documentation

CoreExport MouseManager ( )
CoreExport ~MouseManager ( )

Member Function Documentation

CoreExport int SetMouseProc ( MouseCallBack mproc,
int  button,
int  numPoints = 2 
)
CoreExport int SetDragMode ( int  mode )
CoreExport int GetDragMode ( )
CoreExport int SetNumPoints ( int  numPoints,
int  button 
)
CoreExport int ButtonFlags ( )
CoreExport void Pan ( IPoint2  p )
CoreExport LRESULT CALLBACK MouseWinProc ( HWND  hwnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
CoreExport void Reset ( )
int GetMouseMode ( ) [inline]
{return mouseMode;}
CoreExport void SetCapture ( HWND  hWnd )
CoreExport HWND HasCapture ( )
CoreExport void ReleaseCapture ( )
CoreExport void RestoreCapture ( )
CoreExport void SetMouseWindProcCallback ( WNDPROC  pMouseWindProc ) [inline]
        { mpMouseWindProc = pMouseWindProc; }
WNDPROC GetMouseWindProcCallback ( ) const [inline]
        { return mpMouseWindProc; }

Friends And Related Function Documentation

friend class MouseManagerStateInterface [friend]
friend class MouseOverride [friend]

MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager
MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager MouseManager