Page 1 of 1

CommandBar question.

PostPosted: Mar 23, 2004 @ 3:46pm
by kornalius
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

PostPosted: Mar 23, 2004 @ 5:27pm
by jongjungbu
Interesting, my command bars are always (by default it seems) on the bottom of the screen. What are you doing thats different?


JJB

PostPosted: Mar 23, 2004 @ 5:47pm
by kornalius

PostPosted: Mar 24, 2004 @ 12:30am
by jongjungbu

PostPosted: Mar 24, 2004 @ 1:13am
by kornalius

PostPosted: Mar 24, 2004 @ 1:52am
by sponge

PostPosted: Mar 24, 2004 @ 3:58am
by Dan East

PostPosted: Mar 24, 2004 @ 3:55pm
by kornalius

PostPosted: Mar 25, 2004 @ 4:35pm
by kornalius
Anyone?

PostPosted: Mar 25, 2004 @ 6:51pm
by kornalius

PostPosted: Mar 25, 2004 @ 9:28pm
by kornalius
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: