Page 1 of 1

How to do menus in WinCE?

PostPosted: Feb 19, 2004 @ 8:34pm
by kornalius

PostPosted: Feb 19, 2004 @ 9:40pm
by Dan East
Try creating and building your menu (CreateMenu, InsertMenu), then add that menu to your command bar (CommandBar_InsertMenubarEx).

Dan East

PostPosted: Feb 20, 2004 @ 12:11am
by kornalius

PostPosted: Feb 20, 2004 @ 3:36am
by Dan East
The second param of CommandBar_InsertMenubarEx should be NULL:

hInst
Handle to the application instance. This parameter must be NULL if pszMenu contains a menu handle. If pszMenu contains a resource name, hinst must contain the instance handle.


Dan East

PostPosted: Feb 20, 2004 @ 3:22pm
by kornalius

PostPosted: Feb 20, 2004 @ 4:34pm
by Dan East

PostPosted: Feb 20, 2004 @ 5:09pm
by kornalius

PostPosted: Feb 22, 2004 @ 10:16pm
by Dan East
You're just going to have to experiment. Take a close look at the documentation, as well as the samples, and try different methods until you find what works.

Dan East

PostPosted: Feb 23, 2004 @ 1:32pm
by kornalius

CE CommandBar programming is different from Win32 Menus

PostPosted: Feb 25, 2004 @ 2:16am
by Gestalt73

PostPosted: Feb 25, 2004 @ 1:24pm
by kornalius