Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User harshdeep's Avatar
    Join Date
    Jun 2004
    Posts
    18
    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

  2. #2
    Registered User JEFE.qiu's Avatar
    Join Date
    May 2004
    Posts
    20
    You have the problem in bmpid variable.Please put the value defined in the .hrh file.
    Hope help you!
    Thanks!
    JEFE.qiu

  3. #3
    Registered User harshdeep's Avatar
    Join Date
    Jun 2004
    Posts
    18
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved