Discussion Board
-
Has anyone shown bitmaps in a menu?
2004-06-22, 10:57
#1
Registered User
Hi guys
Has anyone of you ever tried displaying small bitmaps in menu?
I use the following resource definition -
RESOURCE MENU_PANE r_menu
{
items =
{
MENU_ITEM
{
command = ECmdReset; txt = "Reset";
bmpfile = "C:\\Nokia\\Images\\test.mbm";
bmpid = 0;
bmpmask = 0;
}, MENU_ITEM
{
command = ECmdSave; txt = "Save";
}
};
}
When I compile this using the Borland C++Builder (SDK v1.2), the bitmap shows up fine in the emulator. But it doesn't show on the device.
Also, when I compile this thing with CodeWarrior (SDK v2.0), the bitmap does not show up even in the emulator.
Can anyone tell me why? Am I missing something?
Thanks in advance
Harshdeep
-
Registered User
You have the problem in bmpid variable.Please put the value defined in the .hrh file.
Hope help you!
Thanks!
JEFE.qiu
-
Registered User
Hi
I don't think that's the problem. As i mentioned in my post, the bitmap does show up in the emulator (with Borland C++Builder).
Thanks
Harsh
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