I have some problem related to grid icons. I have seen related thread http://discussion.forum.nokia.com/fo...d.php?t=175124
but didn't got my answer. In the forum nokia library i have seen how to create grid items without the rss file. Its working properly but the thing is that in the
// Adds ICONS from AVKON`s bitmap file
AddGridIconsL();
how will i implement my own customize icons . The AddGridIconsL function goes like this
Now the EMbmAvkonQgn_prop_nrtyp_address & EMbmAvkonQgn_prop_nrtyp_address_mask are there in the mbg file but how can i add my own icon in this CreateIconLC functionHTML Code:CArrayPtr<CGulIcon*> iconArray = new( ELeave ) CAknIconArray( 1 ); CleanupStack::PushL( iconArray ); CFbsBitmap* addressIcon = NULL; .... AknIconUtils::CreateIconLC( addressIcon, addressIconMask, KAvkonBitmapFile, EMbmAvkonQgn_prop_nrtyp_address, EMbmAvkonQgn_prop_nrtyp_address_mask ); ... .. ....

Reply With Quote


