Discussion Board
-
CGuiIcon
2002-05-23, 09:52
#1
Registered User
The class CGuiIcon's setBitmap method does not seem to be working
Has anybody used this class or has any ideas why it is not working
-
RE: CGuiIcon
2002-05-27, 10:23
#2
Regular Contributor
Hi,
It might be easier to use CEikonEnv::CreateIconL() function to create an instance of CGulIcon.
_LIT(KBitmapFile,"\\System\\Apps\\MyApplication\\icons.mbm");
CGulIcon* myIcon = CEikonEnv::Static()->CreateIconL(KBitmapFile,
EIcon_25x20i, EIcon_25x20m);
Define bitmaps for icons in your .hrh in same order as they are in .mbm file.
enum TMyApplicationMbms
{
EIcon_25x20i,
EIcon_25x20m
};
I hope this helps!
Regards,
Marko / Forum Nokia
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules