<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dockable windows - show and hide in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5510884#M54174</link>
    <description>&lt;P&gt;Hello Adam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could hide my dockable window now. I found the solution to hide the viewcube:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ThisApplication.CommandManager.ControlDefinitions.Item("AppViewCubeCmd").Execute&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I get the internalname from other add-ins?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2015 09:51:53 GMT</pubDate>
    <dc:creator>GeorgK</dc:creator>
    <dc:date>2015-02-18T09:51:53Z</dc:date>
    <item>
      <title>Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5506140#M54101</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how could I show and hide dockable windows via API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5506140#M54101</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2015-02-13T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5507818#M54114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the Programming Help for an example, methodes and properties, search for "DockableWindow Object".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a code example found in the help:&lt;/P&gt;&lt;PRE&gt;Sub DockableWindow()
    Dim oUserInterfaceMgr As UserInterfaceManager
    Set oUserInterfaceMgr = ThisApplication.UserInterfaceManager

    ' Create a new dockable window
    Dim oWindow As DockableWindow
    Set oWindow = oUserInterfaceMgr.DockableWindows.Add("SampleClientId", "TestWindowInternalName", "Test Window")

    ' Get the hwnd of the dialog to be added as a child
    ' CHANGE THIS VALUE!
    Dim hwnd As Long
    hwnd = 4851096

    ' Add the dialog as a child to the dockable window
    Call oWindow.AddChild(hwnd)

    ' Don't allow docking to top and bottom
    oWindow.DisabledDockingStates = kDockTop + kDockBottom

    ' Make the window visible
    oWindow.Visible = True
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eelco&lt;/P&gt;</description>
      <pubDate>Sun, 15 Feb 2015 16:05:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5507818#M54114</guid>
      <dc:creator>ewiggers</dc:creator>
      <dc:date>2015-02-15T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5508327#M54126</link>
      <description>&lt;P&gt;Hello Eelco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it already running. But how could I hide the Dockable window for example the viewcube?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 11:49:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5508327#M54126</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2015-02-16T11:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5509783#M54162</link>
      <description>&lt;P&gt;If you named your dockable window with internal name "TestWindowInternalName" as was done in the above sample code, then this code will hide it:&lt;/P&gt;
&lt;PRE&gt;Sub HideDockableWindow()
    Dim oUserInterfaceMgr As UserInterfaceManager
    Set oUserInterfaceMgr = ThisApplication.UserInterfaceManager

    Dim oWindow As DockableWindow
    Set oWindow = oUserInterfaceMgr.DockableWindows("TestWindowInternalName")
    
    oWindow.Visible = False
End Sub&lt;/PRE&gt;
&lt;P&gt;Not sure what you mean by viewcube? :-s&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5509783#M54162</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2015-02-17T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5510884#M54174</link>
      <description>&lt;P&gt;Hello Adam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could hide my dockable window now. I found the solution to hide the viewcube:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ThisApplication.CommandManager.ControlDefinitions.Item("AppViewCubeCmd").Execute&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I get the internalname from other add-ins?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:51:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5510884#M54174</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2015-02-18T09:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dockable windows - show and hide</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5514469#M54226</link>
      <description>&lt;P&gt;Hi Georg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have a look at the PrintCommandNames function here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html" target="_self"&gt;http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/dockable-windows-show-and-hide/m-p/5514469#M54226</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2015-02-20T14:40:26Z</dc:date>
    </item>
  </channel>
</rss>

