Location:
eikvcurs.h
Link against: eikcore.lib
TEikVirtualCursor
Supported from 6.0
Provides support for the virtual cursor's state within an application.
There is one instance of this object per
CEikonEnv
.
Defined in TEikVirtualCursor
:
CursorState()
, EOff
, EOn
, ESuspended
, SetCursorStateL()
, TEikVirtualCursor()
, TState
TEikVirtualCursor();
Constructor.
Sets the cursor's state to ESuspended
so that the call to switch off the virtual cursor will succeed when the application starts. Required due to the efficient implementation of SetCursorState()
.
void SetCursorStateL(TState aState, CCoeEnv& aEnv);
Sets the virtual cursor's state.
|
TState CursorState(CCoeEnv& aEnv);
Gets the virtual cursor's state.
|
|
TState
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 gained focus, and enable it when unfocused.
|