Re: Pocket PC 2003 SE Menu Not Apearing. by r_z_aret
r_z_aret
Tue Feb 21 16:51:08 CST 2006
On Mon, 20 Feb 2006 12:57:30 -0800, "Anthony"
<Anthony@discussions.microsoft.com> wrote:
>Hi,
>
>I have a simple MFC Dialog application that creates a Command Bar Menu using
>CommandBar_Create and CommandBar_InsertMenubar APIs. The problem is the menu
>is not showing up on the PPC 2003 SE(HP hx2495), but works fine on older PPC
>2002 devices(H3800). Any ideas?
I've mentioned this in several previous posts.
SHCreateMenuBar, not CommandBar_Create, is the correct function for
Pocket PC. If you use CommandBar_Create on most version of Pocket PC,
the application will run, but in "emulation" mode, with Task Bar at
bottom of screen and application menu at top. If you use
CommandBar_Create in an app running on Pocket PC 2003SE (I'm not sure
about 2003), the menu is invisible. I just found out that
CommandBar_Create works well enough for WM 5 if I call CommandBar_Show
right after. See my 14 Feb 2006 contribution to a thread called
"MenuBar Disappeared ?" in microsoft.public.windowsce.embedded.vc
>
>Thanks,
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com