TEikVirtualCursor Class Reference
Provides support for the virtual cursor's state within an application.
There is one instance of this object per CEikonEnv.
Constructor & Destructor Documentation
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().
TEikVirtualCursor(const 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().
Member Functions Documentation
CursorState(CCoeEnv &)
Gets the virtual cursor's state.
Parameters
CCoeEnv & aEnv | The environment in which the virtual cursor exists. |
HandleAppToForeground(CCoeEnv &)
void | HandleAppToForeground | ( | CCoeEnv & | aEnv | ) | |
Switches mouse/pointer cursor on and off according to cursor state.
SetCursorStateL(TState, CCoeEnv &)
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
TState aState | The virtual cursor's required state. |
CCoeEnv & aEnv | The environment in which the virtual cursor exists. |
SwitchOffEmulationAndBitmap(CCoeEnv &)
void | SwitchOffEmulationAndBitmap | ( | CCoeEnv & | aEnv | ) | [private] |
SwitchOnEmulationAndBitmap(CCoeEnv &)
void | SwitchOnEmulationAndBitmap | ( | CCoeEnv & | aEnv | ) | [private] |
Member Enumerations Documentation
Enum 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 gains focus, and enable it when unfocused.
Enumerators
EOff = 0 |
Sets the virtual cursor off.
|
EOn |
Sets the virtual cursor on.
|
ESuspended |
Sets the virtual cursor as suspended.
|
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.