Hi Jim!
Yes, I too have seen unexpected behavior from the toolbar
positioning functionality. However I hasten to say that it
was unexpected *by me*, and it could easily have been the
expectation that was incompletely sophisticated :-)
I suspect you might have to set up a test suite and
exhaustively exercise that area to figure out a theory of
how it works.
I'd anticipate some amount of confusion stemming from
which branch of the UIObject model is in play (App.Builtin,
App.Custom, Doc.Custom), but you probably already know that,
and there may even be some awkward interaction between
CommandBars and UIObject model.
Especially important to understand will be what branch
gets updated if the user moves the tollbars, which
they're apt to do, and where that persists (supposedly
in App.Custom I think) and how it interacts with whatever
you set in Doc.Custom.
BTW -- would you vote for an option to lock the main menu and
*never* let it float?
Graham
Quote:
> I cannot seem to solve the arrangement of toolbars in
> Visio. We've created 3 toolbars of our own and they don't
> show up where we'd expect them to. I set visBarTop and
> position to visRowLast or even compute the last used row
> and increment it by one so I can place them at the end.
> Typically they show up above the Menubar.
> Any thoughts or suggestions?
> Thanks,
> Jim Behm
--
--------------------------------------------
Graham Wideman
MS MVP for Visio
Books:
Visio 2000 Developer's Survival Guide
Visio 2002 Developer's Survival Pack (with Tools)
... and resources for programmable diagramming at:
http://www.*-*-*.com/
--------------------------------------------
Unoffical Visio FAQ:
http://www.*-*-*.com/
(Remove the obvious to email me)
---------------------------------------------