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().
#include <mouseman.h>

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 |
| 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 | ( | ) | [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; }
friend class MouseManagerStateInterface
[friend] |
friend class MouseOverride
[friend] |