![]() | InDesign SDK 20.5 |
#include <DVHostedWidgetEH.h>

Public Member Functions | |
| DVHostedWidgetEH (IPMUnknown *boss) | |
| virtual bool16 | Activate (IEvent *) |
| virtual bool16 | Deactivate (IEvent *) |
| virtual bool16 | Suspend (IEvent *) |
| virtual bool16 | Resume (IEvent *) |
| virtual bool16 | MouseMove (IEvent *) |
| virtual bool16 | MouseExit (IEvent *) |
| virtual bool16 | MouseDrag (IEvent *) |
| virtual bool16 | LButtonDn (IEvent *) |
| virtual bool16 | RButtonDn (IEvent *) |
| virtual bool16 | MButtonDn (IEvent *) |
| virtual bool16 | LButtonUp (IEvent *) |
| virtual bool16 | RButtonUp (IEvent *) |
| virtual bool16 | MButtonUp (IEvent *) |
| virtual bool16 | ButtonDblClk (IEvent *) |
| virtual bool16 | ButtonTrplClk (IEvent *) |
| virtual bool16 | ButtonQuadClk (IEvent *) |
| virtual bool16 | ButtonQuintClk (IEvent *) |
| virtual bool16 | MouseWheel (IEvent *) |
| virtual bool16 | TabletEvent (IEvent *) |
| virtual bool16 | GestureEvent (IEvent *) |
| virtual bool16 | MultiTouchEvent (IEvent *) |
| virtual bool16 | BaseHandlePointerEvent (IEvent *) |
| virtual bool16 | KeyDown (IEvent *) |
| virtual bool16 | KeyCmd (IEvent *) |
| virtual bool16 | KeyUp (IEvent *) |
| virtual bool16 | BaseHandleKeyboardEvent (IEvent *) |
| virtual void | PreGetKeyFocus () |
| virtual void | PostGetKeyFocus () |
| virtual void | PreGiveUpKeyFocus () |
| virtual void | PostGiveUpKeyFocus () |
| virtual bool16 | WillingToGiveUpKeyFocus () |
| virtual bool16 | SuspendKeyFocus () |
| virtual bool16 | ResumeKeyFocus () |
| virtual bool16 | CanHaveKeyFocus () const |
| virtual bool16 | WantsTabKeyFocus () const |
| virtual bool16 | ControlCmd (IEvent *) |
| virtual bool16 | Update (IEvent *) |
| virtual bool16 | PlatformEvent (IEvent *) |
| virtual bool16 | CallSysEventHandler (IEvent *) |
| virtual void | SetView (IControlView *) |
| virtual const char * | class_name () |
Protected Member Functions | |
| dvaui::ui::UI_Node * | Get_UI_Node () const |
Additional Inherited Members | |
Public Types inherited from IEventHandler | |
| enum | { kDefaultIID = IID_IEVENTHANDLER } |
IEventHandler baseclass used for widgets in the Drover world.
The theory going forward is that most of what our existing IEventHandlers do will be replaced by the default behavior of the drover widgets themselves. Thus an IEventHandler will typically not be necessary, unless our version of the widget expects to do something unusual, and even then that code may not reside in an IEventHandler interface.
| inlinevirtual |
Window has been activated. Traditional response is to activate the controls in the window.
| e | event of interest |
Implements IEventHandler.
| virtual |
Double click with any button.
| e | event of interest |
Implements IEventHandler.
| virtual |
Quadruple click with any button.
| e | event of interest |
Implements IEventHandler.
Reimplemented in MenuPopupEventHandler.
| virtual |
Quintuple click with any button.
| e | event of interest |
Implements IEventHandler.
Reimplemented in MenuPopupEventHandler.
| virtual |
Triple click with any button.
| e | event of interest |
Implements IEventHandler.
Reimplemented in MenuPopupEventHandler.
| virtual |
Determine if this eventhandler can be focus of keyboard event
Implements IEventHandler.
Reimplemented in C9PointProxyEH, MenuPopupEventHandler, and DVEditBoxEventHandler.
| inlinevirtual |
Event for a particular control. Used only on Windows.
| e | event of interest |
Implements IEventHandler.
| inlinevirtual |
Window has been deactivated. Traditional response is to deactivate the controls in the window.
| e | event of interest |
Implements IEventHandler.
| virtual |
Keyboard key down that generates a character.
| e | event of interest |
Implements IEventHandler.
Reimplemented in DVToolControlEventHandler.
| virtual |
Keyboard key down for every key. Normally you want to override KeyCmd, rather than KeyDown.
| e | event of interest |
Implements IEventHandler.
Reimplemented in C9PointProxyEH, CelPnlEditBoxEventHandler, MenuPopupEventHandler, DVEditBoxEventHandler, and DVToolControlEventHandler.
| virtual |
Keyboard key released.
| e | event of interest |
Implements IEventHandler.
Reimplemented in DVToolControlEventHandler.
| virtual |
Left mouse button (or only mouse button) has been pressed.
| e | event of interest |
Implements IEventHandler.
Reimplemented in C9PointProxyEH, PicIcoPictureWidgetEH, DVEditBoxEventHandler, DVToolControlEventHandler, and MenuPopupEventHandler.
| virtual |
Left mouse button released.
| e | event of interest |
Implements IEventHandler.
Reimplemented in TableCellEventHandler, MenuPopupEventHandler, and DVToolControlEventHandler.
| virtual |
Middle mouse button of a 3 button mouse has been pressed.
| e | event of interest |
Implements IEventHandler.
| virtual |
Middle mouse button released.
| e | event of interest |
Implements IEventHandler.
| virtual |
User is holding down the mouse button and dragging the mouse.
| e | event of interest |
Implements IEventHandler.
| virtual |
Mouse has exited the current control's bounds.
| e | event of interest |
Implements IEventHandler.
| virtual |
Mouse has moved outside the sensitive region.
| e | event of interest |
Implements IEventHandler.
| virtual |
Mouse wheel moved
| e | event of interest |
Implements IEventHandler.
| virtual |
MultiTouchEvents events New for CC
| e | event of interest |
Implements IEventHandler.
| inlinevirtual |
Called after getting focus onto the associated widget/window
| none |
Implements IEventHandler.
Reimplemented in C9PointProxyEH, and DVEditBoxEventHandler.
| inlinevirtual |
Called after giving up focus onto the associated widget/window
| none |
Implements IEventHandler.
Reimplemented in C9PointProxyEH, and DVEditBoxEventHandler.
| inlinevirtual |
Called before getting focus onto the associated widget/window
| none |
Implements IEventHandler.
| inlinevirtual |
Called before giving up focus onto the associated widget/window
| none |
Implements IEventHandler.
| virtual |
Right mouse button (or second button) has been pressed.
| e | event of interest |
Implements IEventHandler.
| virtual |
Right mouse button released.
| e | event of interest |
Implements IEventHandler.
| inlinevirtual |
Application has been resumed. Control is passed back to the application from another application.
| e | event of interest |
Implements IEventHandler.
| virtual |
The keyboard has been handed back.
Implements IEventHandler.
| inlinevirtual |
Temporary.
Implements IEventHandler.
| inlinevirtual |
Application has been suspended. Control is passed to another application.
| e | event of interest |
Implements IEventHandler.
| virtual |
The keyboard focus if going to be taken offis temporarily being taken away. Remember enough state to resume where you left off.
Implements IEventHandler.
| virtual |
Tablet and Gesture events New for CC, previously these would come through PlatformEvent
| e | event of interest |
Implements IEventHandler.
| virtual |
Return kTrue if this event handler wants to get keyboard focus while tabbing through widgets. Note: For almost all event handlers CanHaveKeyFocus and WantsTabKeyFocus will return the same value. If WantsTabKeyFocus returns kTrue then CanHaveKeyFocus should also return kTrue for the event handler to actually get keyboard focus. If WantsTabKeyFocus returns kFalse then the event handler is skipped.
Implements IEventHandler.
Reimplemented in DVEditBoxEventHandler.
| virtual |
Typically called before the keyfocus is taken from the widget/window is called. Return kFalse to hold onto the keyboard focus.
Implements IEventHandler.
Reimplemented in DVEditBoxEventHandler.