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

Public Member Functions

 CWindowEH (IPMUnknown *boss)
 
virtual bool16 ButtonDblClk (IEvent *e)
 
virtual bool16 ButtonTrplClk (IEvent *e)
 
virtual bool16 ControlCmd (IEvent *e)
 
virtual bool16 KeyCmd (IEvent *e)
 
virtual bool16 KeyUp (IEvent *e)
 
virtual bool16 LButtonUp (IEvent *e)
 
virtual bool16 MouseMove (IEvent *e)
 
virtual bool16 MouseDrag (IEvent *e)
 
virtual bool16 Activate (IEvent *e)
 
virtual bool16 Deactivate (IEvent *e)
 
virtual bool16 Update (IEvent *e)
 
- Public Member Functions inherited from CEventHandler
 CEventHandler (IPMUnknown *boss)
 
virtual ~CEventHandler ()
 
virtual bool16 Suspend (IEvent *e)
 
virtual bool16 Resume (IEvent *e)
 
virtual bool16 MouseExit (IEvent *e)
 
virtual bool16 LButtonDn (IEvent *e)
 
virtual bool16 RButtonDn (IEvent *e)
 
virtual bool16 MButtonDn (IEvent *e)
 
virtual bool16 RButtonUp (IEvent *e)
 
virtual bool16 MButtonUp (IEvent *e)
 
virtual bool16 ButtonQuadClk (IEvent *e)
 
virtual bool16 ButtonQuintClk (IEvent *e)
 
virtual bool16 MouseWheel (IEvent *e)
 
virtual bool16 TabletEvent (IEvent *e)
 
virtual bool16 GestureEvent (IEvent *e)
 
virtual bool16 MultiTouchEvent (IEvent *e)
 
virtual bool16 KeyDown (IEvent *e)
 
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 PlatformEvent (IEvent *e)
 
virtual bool16 CallSysEventHandler (IEvent *e)
 
virtual void SetView (IControlView *view)
 

Additional Inherited Members

- Public Types inherited from IEventHandler
enum  { kDefaultIID = IID_IEVENTHANDLER }
 
- Protected Attributes inherited from CEventHandler
IControlViewfView
 

Member Function Documentation

virtual bool16 CWindowEH::Activate (IEvente)
virtual

Window has been activated. Traditional response is to activate the controls in the window.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::ButtonDblClk (IEvente)
virtual

Double click with any button.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::ButtonTrplClk (IEvente)
virtual

Triple click with any button.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::ControlCmd (IEvente)
virtual

Event for a particular control. Used only on Windows.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::Deactivate (IEvente)
virtual

Window has been deactivated. Traditional response is to deactivate the controls in the window.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::KeyCmd (IEvente)
virtual

Keyboard key down that generates a character.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::KeyUp (IEvente)
virtual

Keyboard key released.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::LButtonUp (IEvente)
virtual

Left mouse button released.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::MouseDrag (IEvente)
virtual

User is holding down the mouse button and dragging the mouse.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::MouseMove (IEvente)
virtual

Mouse has moved outside the sensitive region.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.

virtual bool16 CWindowEH::Update (IEvente)
virtual

Window needs to repaint.

Parameters
eevent of interest
Returns
kTrue if event was handled, kFalse to propagate event, i.e. pass to next handler

Reimplemented from CEventHandler.