×

Discussion Board

Results 1 to 7 of 7

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    110

    Question How to add a small icon on every MenuItem

    Say I have a Menu Item Item_1 and a corresponding little icon 'i', I want my menu to show
    Item_1 'i'
    Can it be done ?

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

    Re: How to add a small icon on every MenuItem

    Ya u have to implement your own logic in doing this...
    In the case of listboxes...
    You have to format the string as %d\t%s\t where the first parameter is the icon-index in the icon array and the second parameter is the Menu item to be displayed..

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    110

    Re: How to add a small icon on every MenuItem

    Thnax but how to implement Listboxes in menus ?

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

    Re: How to add a small icon on every MenuItem

    I am not sure abt wat u r talking...May be u can be more clear

    If u want to have a menu with icons u can implement a Grid such as the Gallery view.. Search in the wiki for examples..
    If u want to have a listbox with icons, you can get it in the wiki...Like the contacts view

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    110

    Re: How to add a small icon on every MenuItem

    No all I wanted is a popup customised menu with Texts on left side and icons on right side of each item .

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

    Re: How to add a small icon on every MenuItem

    Then you can use the CAknListQueryDialog classes..
    But not sure that you can place the icons on right side...

  7. #7
    Registered User
    Join Date
    Jul 2008
    Posts
    275

    Re: How to add a small icon on every MenuItem

    I think it is only possible to add a checkbox or radio-button which are predefined by S60

Similar Threads

  1. How to add MenuItem to in-Built application?
    By ash_leo in forum Symbian
    Replies: 5
    Last Post: 2008-11-11, 03:41
  2. Replies: 2
    Last Post: 2008-07-01, 17:55
  3. How to add svg icon to project?
    By PersonaPrima in forum Symbian Media (Closed)
    Replies: 8
    Last Post: 2008-06-22, 19:25
  4. Replies: 7
    Last Post: 2007-09-05, 10:38
  5. How to Add an icon on the status area in s90?
    By redglove in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-12-03, 08: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
  •  
×