Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: W32STD.H

Enum TLongCaptureFlags

TLongCaptureFlags

Description

Flags which customise a long key press capture request made by a window group.

These flags are passed to RWindowGroup::CaptureLongKey().

Two things can be configured using this enum: the normal key event that is generated immediately, and the long key event that is generated after a short time interval. The normal key event can be sent immediately (on key down) to the application with keyboard focus, or, if the key is not held down long enough to generate a long key event, when the key is released. The long key event can be customised to generate a single key event only, or to auto repeat.

See also:

ELongCaptureShortEventImmediately

If specified, the normal ("short") key event is sent immediately (on key down) to the application with keyboard focus. If not specified, the normal key event is sent when the key is released (if the key is not held down long enough to generate a long key event).

ELongCaptureRepeatEvents

If specified, causes the long key press to automatically repeat. If not specified, the long key press will generate a single key event only.

ELongCaptureNormal

Equivalent to ELongCaptureShortEventImmediately being set and the other flags unset.

ELongCaptureWaitShort

Equivalent to the first two values being unset.