×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Question About CAknSelectionListDialog

    Hi,
    I am trying to implement a selection list dialog. I use the class CAknSelectionListDialog and the rss defined like:
    RESOURCE DIALOG r_my_selectionlist_dialog
    {
    flags = EAknDialogSelectionList;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
    {
    DLG_LINE
    {
    type = EAknCtDoubleLargeListBox;
    id = ESelectionListControl;
    control = LISTBOX
    {
    flags = EAknListBoxSelectionList;
    };
    }
    };
    }
    It works fine.
    But I want to implement the dialog as modaless. So I change the flags to:
    flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons;
    In fact I just expand EAknDialogSelectionList and remove the EEikDialogFlagWait value.
    But my selectionlist dialog doesn't work any more and will crash with KERN-EXE 3.
    Could you show me why and how to handle it?
    Thanks a lot in advance!

  2. #2
    Registered User
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    15

    Re: About CAknSelectionListDialog

    Hi, I am trying to use a selectionlistbox, but I can't get it to work.
    Do you have the full code of this example, and would you be so kind as to mail it to me? paul.doskabouter@gmail.com

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Smile Re: About CAknSelectionListDialog

    Quote Originally Posted by doskabouter View Post
    Hi, I am trying to use a selectionlistbox, but I can't get it to work.
    Do you have the full code of this example, and would you be so kind as to mail it to me? paul.doskabouter@gmail.com
    Hi, paul
    I have sent you an email, please check it!

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: About CAknSelectionListDialog

    Guys, if you have working code to share why don't you put it on the Wiki?

    Here's one related code snippet already available: How to select an item in CAknSelectionListDialog
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. CAknSelectionListDialog with custom ItemDrawer
    By simonpk in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-09-24, 07:34
  2. CAknSelectionListDialog in its own window
    By mew1979 in forum Symbian
    Replies: 4
    Last Post: 2007-05-29, 14:35
  3. Not displaying item names in CAknSelectionListDialog
    By hasiamar in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-10-11, 10:49
  4. CAknSelectionListDialog and my own menu
    By joape382 in forum Symbian
    Replies: 0
    Last Post: 2005-01-04, 17:05
  5. Derive from CAknSelectionListDialog?
    By fsiegel in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-10-19, 18:38

Posting Permissions

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