Inherited by WidgetComboBox, WidgetDataGrid, WidgetDateTimePicker, WidgetProgressBar, WidgetSlider, WidgetSpinner, WidgetStatic, WidgetStatusBar, WidgetTabSheet, WidgetWindowBase, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyDialogWidget >, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyModalDialogWidget >, and WidgetWindowBase< EventHandlerClass, unUsed >.
Public Member Functions | |
void | onLeftMouseDown (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Left mouse button pressed event handler setter. | |
void | onLeftMouseUp (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Left mouse button pressed and released event handler setter. | |
void | onMiddleMouseDown (typename MessageMapType::voidFunctionTakingMouseEventResult eventHandler) |
Middle mouse button pressed event handler setter. | |
void | onMiddleMouseUp (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Middle mouse button pressed and released event handler setter. | |
void | onMouseMove (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Mouse moved event handler setter. | |
void | onRightMouseDown (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Right mouse button pressed event handler setter. | |
void | onRightMouseUp (typename MessageMapType::itsVoidFunctionTakingMouseEventResult eventHandler) |
Right mouse button pressed and released event handler setter. |
E.g. the WidgetWindow can trap "mouse clicked events" therefore it realize the AspectMouseClicks through inheritance.
void onMiddleMouseDown | ( | typename MessageMapType::voidFunctionTakingMouseEventResult | eventHandler | ) |
Middle mouse button pressed event handler setter.
If supplied, function will be called when user press the Middle Mouse button in the client area of the widget.
The parameter passed is const MouseEventResult & which contains the state of the mouse.