S60 3rd Edition API Reference: CPbkSelectFieldDlg Class Reference
CPbkSelectFieldDlg Class Reference API published in: S60 1st Ed
Link against: pbkview.lib
Capability Information Required Capabilities ReadDeviceData ReadUserData WriteDeviceData WriteUserData
#include <cpbkselectfielddlg.h >
Detailed Description
Phonebook field selection dialog.
This class is used to show a Phonebook contact item field selection dialog to the user. The user is able to select a particular field from the dialog and this selection is returned to the client.
Constructor & Destructor Documentation
IMPORT_C CPbkSelectFieldDlg::CPbkSelectFieldDlg ( )
IMPORT_C CPbkSelectFieldDlg::~CPbkSelectFieldDlg ( )
Member Function Documentation
IMPORT_C void CPbkSelectFieldDlg::AttemptExitL ( TBool aAccept )
Runs the dialog and returns selected field.
NOTE: this object is deleted when this function returns or leaves.
Parameters:
aArray Array of TPbkContactItemFields aCbaResourceId Softkey buttons for the control. aHeading Possible heading for the control. aFocusIndex Field index to focus initially.
Returns: The selected contact item field or NULL.
Sets aSelfPtr to NULL when this dialog is destroyed.
!aSelfPtr || *aSelfPtr==this
IMPORT_C void CPbkSelectFieldDlg::SetObserver ( MPbkControlKeyObserver * aKeyObserver )
Registers aKeyObserver as a key event observer of this control.
Only one observer is supported and setting a new one removes the previous setting.
Parameters:
aKeyObserver A Phonebook control key observer.
The documentation for this class was generated from the following file: