×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Unhappy Selection list Dialog problem....

    Hello everyone,

    i am using selection list dialog in my project..i have to show a list with icons.....it very easy to show a list but how i show the icons there.....

    Plzz suggest me how i display icons with the list in selection list dialog,

    Thxx & regards,

    Sunil.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Selection list Dialog problem....

    hai sunil, have you gone through the class called CAknGrid

  3. #3
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    not exactly but i can if it helps me....

  4. #4
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: Selection list Dialog problem....

    Then what do u exactly want.. Cud give a better explanation??

  5. #5
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    No ...itz not the implementation of Grid...

    I only want to display a list using Selection List Dialog having icons in itz header....

  6. #6
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    My Code:----

    in rss:--

    RESOURCE DIALOG r_list_query_list
    {
    flags = EAknDialogSelectionList;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;

    items =
    {
    DLG_LINE
    {
    type = EAknCtDoubleListBox;
    id = ESelectionListControl;
    control = LISTBOX
    {
    flags = EAknListBoxSelectionList;
    array_id = r_list_query_item; //will be added dynamically
    };
    },
    DLG_LINE
    {
    itemflags = EEikDlgItemNonFocusing;
    id = EFindControl;
    type = EAknCtSelectionListFixedFind;
    }
    };
    }

    RESOURCE ARRAY r_list_query_item
    {
    items =
    {
    LBUF {txt = "0\tSunil"; },
    LBUF {txt = "0\tAnil"; },

    };
    }

    -----------------------

    and in cpp:--

    TInt index( 0 );
    CAknSelectionListDialog* dlg= CAknSelectionListDialog::NewL(index,NULL,0);
    dlg->PrepareLC(R_LIST_QUERY_LIST);
    dlg->RunLD();


    plzz suggest me how to add icons in the list....

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Selection list Dialog problem....


  8. #8
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    Thxx for the reply.......but i am not talking about the list .....i am talking about the dialog list only.....

  9. #9
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: Selection list Dialog problem....

    We are nt sure abt ur requirement..
    so go thro this

    http://www.newlc.com/Listbox-Part-III.html

    and select what you want

  10. #10
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    talking about the dialog..........icon in dialog only.....

  11. #11
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Selection list Dialog problem....

    got the solution ........thxx all for the help......

Similar Threads

  1. problem with s60 dialog
    By netsjp in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-11-02, 09:09
  2. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum General Development Questions
    Replies: 1
    Last Post: 2008-08-21, 12:44
  3. selection listbox in multipage dialog
    By RearCog in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-02-26, 21:41
  4. file dialog selection problem
    By bojkar in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-09-05, 13:31
  5. How to - Dynamically update icons in List or Dialog
    By relliott98 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-06-13, 14:08

Posting Permissions

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