Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximize Visio Application Window 1

Status
Not open for further replies.

ChuckUpNorth

Programmer
Nov 21, 2002
7
US
How do you maximize a Visio Application Window?

ActiveWindow.WindowState = visWSMaximized
maximizes the window within Visio,
but how do I maximize the application?

Thanks,
Chuck
 
NOTE: This was also posted in VBA forum

Visio doesn't seem to have WindowState for Application.
I got around the problem with the following code:

'==== Maximize visio application ====
Visio.Application.DoCmd (Visio.VisUICmds.visCmdAppMaximize)

'==== Maximize window within visio ====
Visio.ActiveWindow.WindowState = visWSMaximized
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top