Class: TModifierKeyUpEvent

Declaration: KeyboardInput.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

TModifierKeyUpEvent derives from TKeyEvent and is generated when the key up is a modifier key.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TModifierKeyUpEvent::TModifierKeyUpEvent

  1. TModifierKeyUpEvent (TKeyboardInputDevice * keyboardDevice, TStandardEventReceiver * receiver, TVirtualKeyCode :: EVirtualKey key, TModifierKeys modifierKeys)
  2. TModifierKeyUpEvent (const TModifierKeyUpEvent & copy)

Interface Category:

API.

Purpose:

  1. Constructs the modifier key-down event given the keyboard device, event receiver, key code, and modifier.
  2. Copy constructor.

Calling Context:

  1. Called when the event generated is a keyboard event.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TModifierKeyUpEvent::~TModifierKeyUpEvent

virtual ~ TModifierKeyUpEvent ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TModifierKeyUpEvent::operator=

TModifierKeyUpEvent & operator =(const TModifierKeyUpEvent & assign)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

Returns a const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TModifierKeyUpEvent::Dispatch

virtual bool Dispatch (MEventTarget & target)

Interface Category:

API.

Purpose:

Dispatches the modifier key-up event to the given target.

Calling Context:

Called by the event target dispatch the event.

Parameters:

Return Value:

Returns true if the target returned true after processing the event.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.