Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2009

    To draw grid images on the screen

    I want to create grid images on the screens and I want to put some functionalities over them...like when i click on one of the grid image another view appears something like t hat sort. Now I can do that in the menus but nw i want to do that in the screen. Also i don't want to create the mbm file for the images because i have to parse those images from an xml and put them on the screen as grid view. Any sample or suggetsion will be a great help to me.

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Moscow, Russia

    Re: To draw grid images on the screen

    Create a grid, create an icons array, add images to it at runtime and after that set icons array to grid. Like this:
    void MyContainer::AddGridIconsL()
        CArrayPtr<CGulIcon*> iconArray = new( ELeave ) CAknIconArray( 1 );
        /* Read images and append them to iconArray */
        iGrid->ItemDrawer()->ColumnData()->SetIconArray( iconArray );
    Also this article might be helpful - Grids API: Using Grids API

Similar Threads

  1. How to draw an animation on standby screen?
    By linxin79 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-04-02, 18:46
  2. Can I draw on a Idle Screen
    By chandrashekar@nexG in forum Symbian
    Replies: 4
    Last Post: 2009-01-27, 14:09
  3. draw a graph in the screen
    By wask in forum Symbian
    Replies: 1
    Last Post: 2008-05-14, 09:40
  4. multiple images on screen
    By nibss in forum Symbian
    Replies: 0
    Last Post: 2006-06-22, 23:52

Posting Permissions

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