Pocket PC menu bars

Hi,

I've added a command bar and menu using CCommand bar class. On the smart phone it is ok but on the pocket pc (2003) the buttons for Options and Quit get changed to 'File' and 'Go' Anyone know how to fix this The buttons also don't take up the entire bar and appear on the left hand side.

Thanks.



Answer this question

Pocket PC menu bars

  • AirpowerDavid

    Hi avinash,

    I checked the rc2 files for both versions and they seem to be the same and are using SHMENUBAR. I'll look into it and get back to you - at the moment I'm only working on the smartphone version. Below is an example of one of the menu bars.

    Thanks,

    David

    IDR_MAINFRAME SHMENUBAR DISCARDABLE

    BEGIN

    IDR_MAINFRAME,

    2,

    I_IMAGENONE, IDOK, TBSTATE_ENABLED, TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE,

    IDS_OPTIONS, 0, 0,

    I_IMAGENONE, IDCANCEL, TBSTATE_ENABLED, TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE,

    IDS_EXIT, 0, NOMENU,

    END


  • juicyjuice

    Hi,
    It shall be great if you could share the MENU and SHMENUBAR resources for both, without that I won't be able to understand the reason for the reported behaviour.

    Thanks.


  • FoxyNet

    Hi,

    Can you please check the following things in order:
    1) Are both PPC and Smartphone resources using RCDATA or SHMENUBAR resource in their respective rc2 files I suspect that the PPC isn't using the SHMENUBAR resource.
    2) Are the PPC and Smartphone MENU resources being referred to the same for both the platforms

    To have the same menu experience on both the platfroms make sure that the resources for PPC and Smartphone are just the same. ( MENU + SHENUBAR both )

    It shall be great if you can post the menubar related resources too.

    Thanks



  • Pocket PC menu bars