hi 2 all,
i want to show an image on menu click from my app.
so for showing image i referred sdk help code .......like this.
for this firstly i created a mbm file by adding following code snippet in mmp...
START BITMAP myapp.mbm
SOURCE C12 myappimage.bmp
SOURCE C12 myappimage_mask.bmp
i have one fn in my container named ShowImageL().....which calls another fn in same container class LoadImageL() having implementation like below
iMyImage = LoadMyBitmapL();
// load the bitmap from the mbm file
CFbsBitmap* bitmap = new (ELeave) CFbsBitmap();
// EMbmMygameImage1 is enumerated value from myapp.mbg file
CleanupStack::Pop(); // bitmap
and then in draw fn i added this line.....
and then from my appui's handlecommandL fn i called
after doing all this stuff i made sis file and tested on device ....but when i clicked on this menu option which shows image ...it does nothing.
i mean it dosent shows image....
can anyone has displayed an image on menu click?...or does anyone from forum knows how to display image?.......
any help in this regard is highly appriciated.