How do you make Visio go to Full Screen Mode using VBA automation?

N

Nick Martino

I am writing an application that takes code I have written and creates a
state diagram. However, there is so much information in the diagram that it
must be viewed full screen in order to read all the text.

I have looked at the Application object, Application Settings object, Menu
object, and UIObject. I can't find any way to automatically put Visio in
full screen.

If you have any suggestions, please help.

I am using Visio 2002, but I can upgrade to 2003 if needed.

Thanks
 
J

JuneTheSecond

SendKeys statement might be available to display full screen.
For example,
SendKeys "{F5}", True
 
C

Chris Roth [ Visio MVP ]

visio.Application.DoCmd(visio.VisUICmds.visCmdFullScreenMode)

This is a toggle, so I'm not sure if you can detect if Visio is already IN
full screen mode. Perhaps there's some window state...not sure off the top
of my head.

--

Hope this helps,

Chris Roth
Visio MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top