InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DVToolControlEventHandler Class Reference
Inheritance diagram for DVToolControlEventHandler:
DVHostedWidgetEHIEventHandlerIPMUnknown

Public Member Functions

 DVToolControlEventHandler (IPMUnknown *boss)
 
virtual bool16 LButtonDn (IEvent *e)
 
virtual bool16 LButtonUp (IEvent *e)
 
virtual bool16 KeyDown (IEvent *e)
 
virtual bool16 KeyCmd (IEvent *e)
 
virtual bool16 KeyUp (IEvent *e)
 
- Public Member Functions inherited from DVHostedWidgetEH
 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 RButtonDn (IEvent *)
 
virtual bool16 MButtonDn (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 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

virtual bool16 CleanupMouseUp ()
 
virtual void TriggerControlData ()
 
- Protected Member Functions inherited from DVHostedWidgetEH
dvaui::ui::UI_Node * Get_UI_Node () const
 

Protected Attributes

IControlViewfMyView
 
bool16 fMouseOverControl
 
bool16 fLButtonPressed
 
bool16 fIsToolboxSubtoolsPopoutOpen
 

Additional Inherited Members

- Public Types inherited from IEventHandler
enum  { kDefaultIID = IID_IEVENTHANDLER }
 

Member Function Documentation

virtual bool16 DVToolControlEventHandler::KeyCmd (IEvente)
virtual

Keyboard key down that generates a character.

Parameters
eevent of interest
Returns
kTrue if event has been handled and should not be further dispatched, kFalse otherwise (pass event to next handler)

Reimplemented from DVHostedWidgetEH.

virtual bool16 DVToolControlEventHandler::KeyDown (IEvente)
virtual

Keyboard key down for every key. Normally you want to override KeyCmd, rather than KeyDown.

Parameters
eevent of interest
Returns
kTrue if event has been handled and should not be further dispatched, kFalse otherwise (pass event to next handler)

Reimplemented from DVHostedWidgetEH.

virtual bool16 DVToolControlEventHandler::KeyUp (IEvente)
virtual

Keyboard key released.

Parameters
eevent of interest
Returns
kTrue if event has been handled and should not be further dispatched, kFalse otherwise (pass event to next handler)

Reimplemented from DVHostedWidgetEH.

virtual bool16 DVToolControlEventHandler::LButtonDn (IEvente)
virtual

Left mouse button (or only mouse button) has been pressed.

Parameters
eevent of interest
Returns
kTrue if event has been handled and should not be further dispatched, kFalse otherwise (pass event to next handler)

Reimplemented from DVHostedWidgetEH.

virtual bool16 DVToolControlEventHandler::LButtonUp (IEvente)
virtual

Left mouse button released.

Parameters
eevent of interest
Returns
kTrue if event has been handled and should not be further dispatched, kFalse otherwise (pass event to next handler)

Reimplemented from DVHostedWidgetEH.