<?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: API dockable window width not working in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6550448#M108353</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you setting the width of the usercontrol to be the same width as the dockable window?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;Nacho&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 17:58:15 GMT</pubDate>
    <dc:creator>NachoShaw</dc:creator>
    <dc:date>2016-09-08T17:58:15Z</dc:date>
    <item>
      <title>API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6423296#M108347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create a AddIn that works with a dockable window. This dockable window has a usercontrol added into it. this user control is much smaller than the dockable window. Now I would like to match the size but the width property does not affect my window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed my width from 50 to 40 to 20 and no visible difference. How am I supposed to change the window width?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        Private DDCbrowser As DockableWindow
        Private DDC As DocumentDisplayControls ' User Control class

        Private Sub CreateDockableWindow()
            ' Set reference to the user interface manager
            Dim oUserInterfaceMgr As UserInterfaceManager
            oUserInterfaceMgr = m_inventorApplication.UserInterfaceManager

            ' Create a new dockable window
            DDCbrowser = oUserInterfaceMgr.DockableWindows.Add("SampleClientId", "DDCIntName", "Ellimetal DDC")

            DDC = New DocumentDisplayControls
            DDCbrowser.AddChild(DDC.Handle)

            ' Dock the window to the right
            DDCbrowser.DockingState = DockingStateEnum.kDockRight

            ' Show the title bar
            DDCbrowser.ShowTitleBar = True
            DDCbrowser.Width = 20

            ' Set the dockable window visible
            DDCbrowser.Visible = True
        End Sub&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jul 2016 10:00:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6423296#M108347</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-07-07T10:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6544151#M108348</link>
      <description>&lt;P&gt;Still looking for the solution..&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 12:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6544151#M108348</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-09-06T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6544443#M108349</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This needs some more investigation, i thought i found a solution, but it still needs some tweaks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 14:17:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6544443#M108349</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2016-09-06T14:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6546675#M108350</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3139519"&gt;@Jef_E﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have yet to do any work with Dockable windows myself, but the chap who wrote/created the "MyVaultBrowser" addin for Inventor* has provided the source code over on &lt;A href="https://github.com" target="_blank"&gt;https://github.com&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/smilinger/MyVaultBrowser" target="_blank"&gt;https://github.com/smilinger/MyVaultBrowser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps in there he has achieved the very answer you are looking for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*In case you weren't aware, this addin first gets the Vault Addin instance and then separates the Vault browser window into a separate dockable window.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6546675#M108350</guid>
      <dc:creator>AlexFielder</dc:creator>
      <dc:date>2016-09-07T12:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6546940#M108351</link>
      <description>&lt;P&gt;As far i have found, is that the model browser is causing the problem, if you close it, the width will change.&lt;/P&gt;
&lt;P&gt;But if you switch it back on, the width of the modelbrowser is the new width of the dockable windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as far i know, the api of the modelbrowser is not exposed... (just guessing)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6546940#M108351</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2016-09-07T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6548830#M108352</link>
      <description>&lt;P&gt;I think "The Chap" does not set the width of the dockable window. He does set a minimum size..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;_myVaultBrowser.SetMinimumSize(200, 150)&lt;/PRE&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;public void Activate(ApplicationAddInSite addInSiteObject, bool firstTime)
        {
            // This method is called by Inventor when it loads the addin.
            // The AddInSiteObject provides access to the Inventor Application object.
            // The FirstTime flag indicates if the addin is loaded for the first time.

            // Initialize AddIn members.
            _inventorApplication = addInSiteObject.Application;

            try
            {
                _vaultAddin = _inventorApplication.ApplicationAddIns.ItemById["{48b682bc-42e6-4953-84c5-3d253b52e77b}"];
            }
            catch
            {
                MessageBox.Show(Resources.VaultAddinNotFound, @"MyVaultBrowser", MessageBoxButtons.OK,
                    MessageBoxIcon.Error);
                throw;
            }

            _applicationEvents = _inventorApplication.ApplicationEvents;
            _dockableWindowsEvents = _inventorApplication.UserInterfaceManager.DockableWindows.Events;
            _userInterfaceEvents = _inventorApplication.UserInterfaceManager.UserInterfaceEvents;

            _activeProjectType = _inventorApplication.DesignProjectManager.ActiveDesignProject.ProjectType;

            _hwndDic = new Dictionary&amp;lt;Document, IntPtr&amp;gt;();
            Hook.Initialize(this);

            _myVaultBrowser =
                _inventorApplication.UserInterfaceManager.DockableWindows.Add("{ffbbb57a-07f3-4d5c-97b0-e8e302247c7a}",
                    "myvaultbrowser", "MyVaultBrowser");
            _myVaultBrowser.Title = "Vault";
            _myVaultBrowser.ShowTitleBar = true;
            _myVaultBrowser.DisabledDockingStates = DockingStateEnum.kDockBottom | DockingStateEnum.kDockTop;
            _myVaultBrowser.SetMinimumSize(200, 150);

            SetShortCut();

            if (!_myVaultBrowser.IsCustomized)
            {
                _myVaultBrowser.DockingState = DockingStateEnum.kDockRight;
                _myVaultBrowser.Visible = true;
            }

            _applicationEvents.OnActiveProjectChanged += ApplicationEvents_OnActiveProjectChanged;
            _userInterfaceEvents.OnResetShortcuts += UserInterfaceEvents_OnResetShortcuts;

            if (_inventorApplication.Ready)
            {
                if (_activeProjectType == MultiUserModeEnum.kVaultMode)
                    TryLoadVaultAddin();
            }
            else
                _applicationEvents.OnReady += ApplicationEvents_OnReady;

        }&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;I found this in the API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;DockableWindow.Width Property&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Parent Object: &lt;A href="https://forums.autodesk.com/t5/forums/replypage/board-id/120/message-id/DockableWindow.htm" target="_blank"&gt;DockableWindow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Description&lt;/H2&gt;
&lt;P&gt;Property that gets and sets the current width of the window. Setting the width may fail in certain situations such as when the window is docked to the top or bottom and spans the entire width of the Inventor frame.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Syntax&lt;/H2&gt;
&lt;P&gt;DockableWindow.&lt;STRONG&gt;Width&lt;/STRONG&gt;() As Long&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Version&lt;/H2&gt;
&lt;P&gt;Introduced in Inventor version 2011&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But my window is docked to the right..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;' Dock the window to the right
DDCbrowser.DockingState = DockingStateEnum.kDockRight&lt;/PRE&gt;
&lt;P&gt;It would be nice if Autodesk would respond to this thread.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 06:35:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6548830#M108352</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-09-08T06:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6550448#M108353</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you setting the width of the usercontrol to be the same width as the dockable window?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:58:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6550448#M108353</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2016-09-08T17:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551631#M108354</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@nmjshaw150 wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;are you setting the width of the usercontrol to be the same width as the dockable window?&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, is this a requirement? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; I thought the usercontrol is "docked" into the dockablewindow and is resized with it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: I tried it, but no succes.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 06:32:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551631#M108354</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-09-09T06:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551714#M108355</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only if you have set it to be fully docked. What method did you use? I do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add a generic frame control to the form and make sure it is anchored and positioned just as i like it&lt;/LI&gt;&lt;LI&gt;Create a UserControl with all of my controls&lt;/LI&gt;&lt;LI&gt;Rebuild my application&lt;/LI&gt;&lt;LI&gt;Add the UserControl to the generic frame at runtime and dock it to the frame&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason for this&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can keep the exact size &amp;amp; position i want on the form without too much difficulty&lt;/LI&gt;&lt;LI&gt;i can load other UserControls on the fly and not have to worry about size issues&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously you dont need to do this, its just what i do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 07:27:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551714#M108355</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2016-09-09T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551750#M108356</link>
      <description>&lt;P&gt;I don't have aclue how I did it and if it's "fully docked"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created a &lt;FONT color="#0000FF"&gt;usercontrol&lt;/FONT&gt; and added it into my dockable window like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        Private DDCbrowser As DockableWindow
        Private DDC As &lt;FONT color="#0000FF"&gt;DocumentDisplayControls&lt;/FONT&gt;

        Private Sub CreateDockableWindow()
            ' Set reference to the user interface manager
            Dim oUserInterfaceMgr As UserInterfaceManager
            oUserInterfaceMgr = m_inventorApplication.UserInterfaceManager

            ' Create a new dockable window
            DDCbrowser = oUserInterfaceMgr.DockableWindows.Add("SampleClientId", "DDCIntName", "Ellimetal DDC")

            DDC = New DocumentDisplayControls
            DDCbrowser.AddChild(DDC.Handle)

            ' Dock the window to the right
            DDCbrowser.DockingState = DockingStateEnum.kDockRight

            ' Show the title bar
            DDCbrowser.ShowTitleBar = True
            DDCbrowser.Width = DDC.Width


            ' Set the dockable window visible
            DDCbrowser.Visible = True
        End Sub&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Sep 2016 07:49:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/6551750#M108356</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-09-09T07:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/8519099#M108357</link>
      <description>&lt;P&gt;Have this been solved?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2019 15:43:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/8519099#M108357</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2019-01-13T15:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/8539906#M108358</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/572109"&gt;@Maxim-CADman77&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created a dockable window with the code below and works fine.&lt;BR /&gt;The code is C#.&lt;/P&gt;
&lt;PRE&gt; UserInterfaceManager uiApp = invApp.UserInterfaceManager;
            DockableWindow dockableWindow;
            dockableWindow = uiApp.DockableWindows.Add("SampleId", "SampleInternalName", "Sample Dock");
            dockableWindow.AddChild(CreateForm());
            dockableWindow.DockingState = DockingStateEnum.kDockRight;            
            dockableWindow.ShowVisibilityCheckBox = true;
            dockableWindow.ShowTitleBar = true;
            dockableWindow.Width = 350;
            dockableWindow.SetMinimumSize(900, 32);
            dockableWindow.DisableCloseButton = false; 
            dockableWindow.Visible = true;&lt;/PRE&gt;
&lt;P&gt;And form from here:&lt;/P&gt;
&lt;PRE&gt;private object CreateForm()
        {
            Myform myForm= new Myform ();
            myForm.AutoSize = true;
            myForm.Show();            
            return myForm.Handle;
        }&lt;/PRE&gt;
&lt;P&gt;I am use 2019 version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 10:59:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/8539906#M108358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-22T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/9209153#M108359</link>
      <description>&lt;P&gt;Hi, I'm afraid you missed the point.&lt;/P&gt;&lt;P&gt;Changing the Height/Width on runtime is the problem. It seems to work initially (later occasionally), but as far as I could see, the SetMinimiumSize method is only honored once, so you cannot respond on runtime, e.g. different MinSize fo Top/bottom as for the others....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alltogether the DockableWindow-APi seems not to be implemented very well.....&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 11:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/9209153#M108359</guid>
      <dc:creator>dba78</dc:creator>
      <dc:date>2019-12-18T11:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: API dockable window width not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/9211366#M108360</link>
      <description>&lt;P&gt;For me the dockable window width&amp;nbsp;is not set correctly, the window width differes from my input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Private Sub CreateDockableWindow()
        ' Set reference to the user interface manager
        Dim oUserInterfaceManager As UserInterfaceManager =
            XpressTools.StandardAddInServer.m_inventorApplication.UserInterfaceManager

        ' Create a new dockable window
        Browser = oUserInterfaceManager.DockableWindows.Add("XpressTools-DID-ID", "DIDintName", "XpressTools browser")

        ' Dock the window to the right
        Browser.DockingState = DockingStateEnum.kDockRight

        ' Show the title bar
        Browser.ShowTitleBar = True

        ' Set the dockable window visible
        Browser.Visible = True

        ' Disable certain docking positions
        Browser.DisabledDockingStates = DockingStateEnum.kDockBottom And DockingStateEnum.kDockBottom

        ' Set the window width
        Browser.Width = 230

        ' Set the minumum size for the browser.
        Browser.SetMinimumSize(300, 220)

        ' Add control to the dockable window
        Browser.AddChild(Me.Handle)
    End Sub&lt;/PRE&gt;&lt;P&gt;The minimum size is set indeed, but the dockable window size is more like 350 and is too large for me.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 08:18:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/api-dockable-window-width-not-working/m-p/9211366#M108360</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2019-12-19T08:18:56Z</dc:date>
    </item>
  </channel>
</rss>

