Author Topic: Showing/Hiding the New Visio 2010 Process Issues Window  (Read 6683 times)

0 Members and 1 Guest are viewing this topic.

IRDC

  • Jr. Member
  • **
  • Posts: 50
Showing/Hiding the New Visio 2010 Process Issues Window
« on: January 13, 2010, 03:23:23 AM »
Does anybody know how one can show/hide the Issues Window via code?
« Last Edit: January 13, 2010, 08:21:56 AM by Visio Guy »

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1737
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Showing/Hiding the New Visio 2010 Process Issues Window
« Reply #1 on: January 13, 2010, 08:22:41 AM »
Hi IRDC,

This worked for me:

Code
Sub ShowIssuesWindow()
   
    Dim win As Visio.Window
    Set win = Visio.ActiveWindow.Windows.ItemFromID(Visio.VisWinTypes.visWinIDValidationIssues)
    If win.Visible = False Then
        win.Visible = True
    End If

End Sub

For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

IRDC

  • Jr. Member
  • **
  • Posts: 50
Re: Showing/Hiding the New Visio 2010 Process Issues Window
« Reply #2 on: January 13, 2010, 09:04:31 AM »
Works fine. Thank you.