This site is no longer active and is available for archival purposes only. Registration and login is disabled.

CommandBar question.


CommandBar question.

Postby kornalius » Mar 23, 2004 @ 3:46pm

Is it possible to align a commandbar at the bottom (instead of the top) of the screen where the input icon is?

The reason I want to do this is because, right now I am using a CommandBar for my menubar and it shows at the top. There is still an empty bar at the bottom of the screen with the input (keyboard) icon and would like to use this space to save some for the main window.

Regards,
Kornalius
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby jongjungbu » Mar 23, 2004 @ 5:27pm

Interesting, my command bars are always (by default it seems) on the bottom of the screen. What are you doing thats different?


JJB
User avatar
jongjungbu
Not JongJongBu
 
Posts: 3112
Joined: Jun 19, 2001 @ 4:22am
Location: USA


Postby kornalius » Mar 23, 2004 @ 5:47pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby jongjungbu » Mar 24, 2004 @ 12:30am

User avatar
jongjungbu
Not JongJongBu
 
Posts: 3112
Joined: Jun 19, 2001 @ 4:22am
Location: USA


Postby kornalius » Mar 24, 2004 @ 1:13am

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby sponge » Mar 24, 2004 @ 1:52am

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Dan East » Mar 24, 2004 @ 3:58am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby kornalius » Mar 24, 2004 @ 3:55pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Mar 25, 2004 @ 4:35pm

Anyone?
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Mar 25, 2004 @ 6:51pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Mar 25, 2004 @ 9:28pm

Ok, I finally figured out a way to add menus dynamicaly to the menu bar (SHCreateMenuBar). It's a trick. You cannot create an EMPTYBAR with SHCreateMenuBar, it won't let you add anything to it after. You have to include a resource ID. What I did is, create a menubar resource with only one HIDDEN menu. Then you can AppendMenu from SHGetMenu without any problems.

I hope this will help so that person is not going to have to go through what I have been through. :D

Regards,
Kornalius.

Btw, thanx all for your help (they sorted lead me to the right solution after all) even if I couldn't get much answers. :wink:
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron