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

Status
Not open for further replies.

ChuckUpNorth

Programmer
Nov 21, 2002
7
US
NOTE: I have posted this in the Visio forum also

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






 
Chuck,

I use this in other mso apps:
Code:
Application.WindowState = xlMaximized

give it a go, why not - ya never know
Can't test - no Visio here ;-(

Cheers
Nikki
 
D'oh - you should probably change
Code:
xl
to
Code:
vis

Sorry
It's Friday

Cheers
Nikki ;-)
 
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