Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <eikvcurs.h>
Link against: eikcore.lib

Class TEikVirtualCursor

class TEikVirtualCursor;

Description

Provides support for the virtual cursor's state within an application.

There is one instance of this object per CEikonEnv.

Members

Defined in TEikVirtualCursor:


Member functions


SetCursorStateL(TState,CCoeEnv &)

IMPORT_C void SetCursorStateL(TState aState, CCoeEnv &aEnv);

Description

Sets the virtual cursor's state.

The suspended state is for use by clients that wish to temporarily disable the cursor but not to switch it off completely.

Parameters

TEikVirtualCursor::TState aState

The virtual cursor's required state.

CCoeEnv &aEnv

The environment in which the virtual cursor exists.


CursorState(CCoeEnv &)

IMPORT_C TState CursorState(CCoeEnv &aEnv);

Description

Gets the virtual cursor's state.

Parameters

CCoeEnv &aEnv

The environment in which the virtual cursor exists.

Return value

TEikVirtualCursor::TState

The virtual cursor's state.

[Top]


Member enumerations


Enum TState

TState

Description

Specifies the virtual cursor's state.

The state may be on, off or suspended. The suspended state is for use by applications that wish to temporarily disable the cursor, but do not want to switch it off completely. For example, an editor control which when focused needs to capture arrow keys would disable the virtual cursor when it gains focus, and enable it when unfocused.

EOff

Sets the virtual cursor off.

EOn

Sets the virtual cursor on.

ESuspended

Sets the virtual cursor as suspended.