Area selection menu in Visio 2010

Started by charlykuntz, December 06, 2013, 09:59:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charlykuntz

Hello,

when I do an area selection in Visio 2010 a menu appears automatically supporting some font and style changes which can be applied to the selection. Is there any way to disable this? My first idea was play around with the Application.BuiltInMenus:

Code (C#) Select

            for (int i = 1; i < this.visioApplication.BuiltInMenus.MenuSets.Count; i++)
            {
                this.visioApplication.BuiltInMenus.MenuSets[i].Visible = false;
            }

            for (int i = 1; i < this.visioApplication.BuiltInMenus.ToolbarSets.Count; i++)
            {
                this.visioApplication.BuiltInMenus.ToolbarSets[i].Delete;
            }

            this.visioApplication.BuiltInMenus.UpdateUI();


Unfortunately this did not work.

Charly.

JuneTheSecond

#1
If you mean it is the mini tool bar,
it may be an option in office common toolbar.

It seems you need to edit registry data.
Here is a question and answer.
http://social.technet.microsoft.com/Forums/en-US/9c98ea21-13f3-489e-913b-5e10db3aff69/hide-context-menu-on-mouse-rightclick

By the way, I am using Visio 2013.
Visio 2013 has its optional item at Files, Option, User Interface Option.
However this option does not work at all in my PC. :'(
May be, Visio 2010 has also the same option you can try.
Best Regards,

Junichi Yoda
http://june.minibird.jp/

Nikolay

Quote from: JuneTheSecond on December 07, 2013, 10:36:09 AM
By the way, I am using Visio 2013.
Visio 2013 has its optional item at Files, Option, User Interface Option.
However this option does not work at all in my PC. :'(
May be, Visio 2010 has also the same option you can try.

This option exists in Visio 2010 as well, but it appears that it controls a different thing.
It looks like this option controls visibility of semi-transparent mini-toolbar which pops up when you edit a text of a shape, and select a word for example (in this case you get a different toolbar)

Really strange.

JuneTheSecond

Thank you, Nikolay.
You are exactly right.

For registry data,
I've added AllowMenuFloaties, defined data format REG_DWORD, and enter data 0.
The mini tool bar dissapeeared in visio.

And when I entered the data "1", mini tool bar appeared again.
Best Regards,

Junichi Yoda
http://june.minibird.jp/

charlykuntz

Thank you very much for your suggestions. This solved my problems!