S60 3rd Edition API Reference: CAknCcpuSupport Class Reference
CAknCcpuSupport Class Reference
API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib
Capability Information
Required Capabilities
None
#include <eikccpu.h>
Inherits CAknControl.
Detailed Description
Cut, copy, paste and undo support class.
Takes care of CBA handling and menu command processing when FEP instructs this control to activate the commands for ccpu operations.
Constructor & Destructor Documentation
| IMPORT_C CAknCcpuSupport::CAknCcpuSupport | ( | MEikCcpuEditor * | aEditor | ) | |
|
|
|
Constructor.
ConstructL() must be called after a call to this function. - Parameters:
-
| aEditor | A pointer to the editor implementing the MEikCcpuEditor interface. |
|
| IMPORT_C CAknCcpuSupport::~CAknCcpuSupport | ( | | ) | |
|
Member Function Documentation
| IMPORT_C void CAknCcpuSupport::ConstructL | ( | | ) | |
|
|
|
2nd phase constructor.
Adds this control to the control stack. |
| IMPORT_C void CAknCcpuSupport::DynInitMenuPaneL | ( | TInt | aResourceId, | | | CEikMenuPane * | aMenuPane | | ) | |
|
|
|
From MEikMenuObserver.
Dynamically initialises a menu pane. - Parameters:
-
| aResourceId | Resource ID of the menu. | | aMenuPane | The in-memory representation of the menu pane. |
|
| IMPORT_C void CAknCcpuSupport::HandleFocusChangeL | ( | | ) | |
|
|
|
Updates the CBA labels according to editor focus state.
|
| IMPORT_C void CAknCcpuSupport::HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | |
|
|
|
From CCoeControl.
Handles pointer events. - Parameters:
-
| aPointerEvent | The pointer event. |
|
| IMPORT_C void CAknCcpuSupport::HandleSelectionChangeL | ( | | ) | |
|
|
|
Updates the CBA labels according to selection and clipboard contents.
|
| IMPORT_C TKeyResponse CAknCcpuSupport::OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, | | | TEventCode | aType | | ) | |
|
|
|
Responds to key presses.
Overrides CCoeControl::OfferKeyEventL(). - Parameters:
-
| aKeyEvent | The key event. | | aType | Not used. |
- Returns:
- Indicates whether or not the key event was consumed.
|
| IMPORT_C void CAknCcpuSupport::ProcessCommandL | ( | TInt | aCommandId | ) | |
|
|
|
From MEikCommandObserver.
Processes user commands. - Parameters:
-
| aCommandId | ID of the command to respond to. |
|
The documentation for this class was generated from the following file: