Hi, I want to change the softkeys to the CPbkSingleEntryFetchDlg dialog. By default the softkeys are "Select" "Back" (R_AVKON_SOFTKEYS_SELECT_BACK).
Is it possible to change the softkeys?
Best regards.
Hi, I want to change the softkeys to the CPbkSingleEntryFetchDlg dialog. By default the softkeys are "Select" "Back" (R_AVKON_SOFTKEYS_SELECT_BACK).
Is it possible to change the softkeys?
Best regards.
When reading the documentation, do not forget checking TParams.
I changed the softkeys:
Thank you.Code:... CPbkContactEngine* pbkContactEngine = CPbkContactEngine::NewL( &iEikonEnv->FsSession() ); CPbkSingleEntryFetchDlg::TParams params; params.iCbaId = R_AVKON_SOFTKEYS_SELECT_CANCEL; CPbkSingleEntryFetchDlg* fetchDlg = CPbkSingleEntryFetchDlg::NewL( params ); ...
When the list of phone contacts has items of that everything is working.
If no entries are displayed the buttons SELECT - BACK, but should be SELECT - CLOSE. What is the reason for this behavior?
Code:CPbkSingleEntryFetchDlg::TParams params; params.iCbaId = R_AVKON_SOFTKEYS_SELECT_CLOSE; ..... CPbkSingleEntryFetchDlg *fetcher = CPbkSingleEntryFetchDlg::NewL(params); ......
Unfortunately that may happen. Empty lists have started to expose extra such extra features (displaying different CBA set) recently (with the single-touch UI perhaps). Unfortunately the 8-10 years old API-s have not changed to track these extras. If you have a lot of time, you can try getting the Symbian^3 sources, perhaps from Nokia (http://symbian.nokia.com), or the last open-source version (from December), "symbiandump" project on SourceForge. These API-s are in the 'contacts' package, .hg file format is used by the Mercurial revision control system.