mouseman.h File Reference

mouseman.h File Reference
#include "coreexp.h"
#include "baseinterface.h"
#include "ipoint2.h"

Classes

class  MouseCallBack
 Allows the developer to capture and process the mouse events entered by the user. More...
 
class  MouseManager
 

Macros

#define MOUSE_ABORT   0
 Sent when the user aborts a mouse procedure. More...
 
#define MOUSE_IDLE   0
 
#define MOUSE_POINT   1
 Sent when the user has clicked a point. More...
 
#define MOUSE_MOVE   2
 Sent when the mouse input is captured and the user moved the mouse. More...
 
#define MOUSE_DBLCLICK   3
 sent when the user has double clicked the mouse. More...
 
#define MOUSE_INIT   4
 Sent when the mouse proc is plugged in as the current mouse proc. More...
 
#define MOUSE_UNINIT   5
 sent when the mouse proc is un-plugged as the current mouse proc. More...
 
#define MOUSE_FREEMOVE   6
 Similar to a MOUSE_MOVE message except it is not called when the mouse is in a 'drag' session. More...
 
#define MOUSE_KEYBOARD   7
 Keyboard input is processed by registering an accelerator table. More...
 
#define MOUSE_PROPCLICK   8
 Sent on a right click, when nothing is selected, and the user is not over any selectable object. More...
 
#define MOUSE_SNAPCLICK   9
 
#define CLICK_MODE_DEFAULT   0
 Returned by CreateMouseCallBack to indicate use of system mouse mode. More...
 
#define CLICK_DRAG_CLICK   1
 The default behaviour as described in override() More...
 
#define CLICK_MOVE_CLICK   2
 In this mode, the first point is entered by clicking the mouse button down and then letting it up. More...
 
#define CLICK_DOWN_POINT   3
 In this mode, point messages are sent on mouse-down only. More...
 
#define CLICK_TWO_POINTS   4
 In this mode, each mouse click sends 2 MOUSE_POINT messages. More...
 
#define LEFT_BUTTON   0
 Left button. More...
 
#define MIDDLE_BUTTON   1
 Middle button. More...
 
#define RIGHT_BUTTON   2
 Right button. More...
 
#define MOUSE_SHIFT   (1<<0)
 Indicates the Shift key is pressed. More...
 
#define MOUSE_CTRL   (1<<1)
 Indicates the Ctrl key is pressed. More...
 
#define MOUSE_ALT   (1<<2)
 Indicates the Alt key is pressed. More...
 
#define MOUSE_LBUTTON   (1<<3)
 Indicates the Left button is down. More...
 
#define MOUSE_MBUTTON   (1<<4)
 Indicates the Middle button is down. More...
 
#define MOUSE_RBUTTON   (1<<5)
 Indicates the Right button is down. More...
 
#define WM_MOUSEABORT   (WM_USER + 7834)
 

Functions

CoreExport BOOL GetInMouseAbort ()
 Indicates if any mouse proc is currently in the process of aborting a mouse proc. More...
 

Macro Definition Documentation

#define WM_MOUSEABORT   (WM_USER + 7834)

Function Documentation

CoreExport BOOL GetInMouseAbort ( )

Indicates if any mouse proc is currently in the process of aborting a mouse proc.

This function is not part of this class but is available for use. It returns TRUE if any mouse proc is currently in the process of aborting a mouse proc, FALSE otherwise. For instance, a developer may be using the Animatable::MouseCycleCompleted() method to put up a dialog box, but needs to not put it up if the mouse proc was aborted. This method provides a way to know if indeed the mouse proc is aborting so the dialog won't be displayed inside MouseCycleCompleted().

Returns
TRUE if aborting, FALSE otherwise.