×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    231

    Change softkeys of CPbkSingleEntryFetchDlg

    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.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: Change softkeys of CPbkSingleEntryFetchDlg

    When reading the documentation, do not forget checking TParams.

  3. #3
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    231

    Re: Change softkeys of CPbkSingleEntryFetchDlg

    I changed the softkeys:

    Code:
    ...
    CPbkContactEngine* pbkContactEngine = CPbkContactEngine::NewL( &iEikonEnv->FsSession() );
    CPbkSingleEntryFetchDlg::TParams params;
    params.iCbaId = R_AVKON_SOFTKEYS_SELECT_CANCEL;
    CPbkSingleEntryFetchDlg* fetchDlg = CPbkSingleEntryFetchDlg::NewL( params );
    ...
    Thank you.

  4. #4
    Registered User
    Join Date
    May 2011
    Posts
    28

    Re: Change softkeys of CPbkSingleEntryFetchDlg

    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);
    ......

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: Change softkeys of CPbkSingleEntryFetchDlg

    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.

Similar Threads

  1. How to change system layouts to landscape mode on OS 9.2?
    By Mozart2007 in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-11-13, 08:57
  2. How to change softkeys dynamically in a Dialog
    By mehdi_cs in forum Symbian User Interface
    Replies: 4
    Last Post: 2007-10-26, 11:15
  3. Softkeys: The definitive guide
    By Pepper_91 in forum Mobile Java General
    Replies: 0
    Last Post: 2007-10-03, 10:25
  4. *URGENT* Change default softkeys on 7650 HOW?
    By imgwild in forum Symbian
    Replies: 2
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×