×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    323

    Question Getting icons in the Listbox problem.

    Dear All,

    i want to display one icons in the left side of the list box , so i used "CAknSingleGraphicStyleListBox()" to implement that .. if i call icons functions .. the emulator is crashing , but if i comment that particular icons function .. the list box is displaying in the screen .. with use of debug it showing error in this line

    AknIconUtils::CreateIconL( bitmap, mask, aFileName, aBitmapId, aMaskId );

    ? any one have idea about this ?

    some code snippet

    CArrayPtr< CGulIcon >* icons = new (ELeave) CAknIconArray( 1 );
    CleanupStack::PushL( icons );

    icons->AppendL( LoadAndScaleIconL(KListimages,EMbmListimgsList_icon,EMbmListimgsMask,NULL,EAspectRatioPreserved));

    _LIT(KListimages,"c:\\Listimgs.mbm");

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    323

    Question Re: Getting icons in the Listbox problem.

    that error is resolved , but images not displaying the listbox ?
    any one have idea about this ?

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    323

    Thumbs up Re: Getting icons in the Listbox problem.

    problem sloved thx for all

Similar Threads

  1. Compile problem on Create dynamically a listbox
    By aferrario in forum Symbian C++
    Replies: 1
    Last Post: 2006-07-19, 04:45
  2. series 80 ListBox problem
    By jokerbirot in forum Symbian C++
    Replies: 1
    Last Post: 2005-06-29, 15:22
  3. listbox with icons
    By betasuppe in forum Symbian User Interface
    Replies: 7
    Last Post: 2004-11-25, 08:19
  4. Problem: Indexes of CDesCArray set to the Listbox.
    By digitaltejas in forum Symbian C++
    Replies: 2
    Last Post: 2004-08-10, 08:10
  5. A ListBox problem, well-skilled developer please help me
    By liuajie in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-04-11, 09:58

Posting Permissions

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