<?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 How to minimize the start interface window? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-minimize-the-start-interface-window/m-p/14045456#M86627</link>
    <description>&lt;P&gt;When I used the following code to simulate the window equal distribution, I found that if I switch between multiple documents by using the command, the window switching works successfully. However, when I activate other documents, the start interface will cover the display of other documents. If the start interface is minimized, this problem won't occur.&lt;BR /&gt;&lt;BR /&gt;How should I fix this bug ,so how can I make the start interface minimized from the beginning?&lt;BR /&gt;Thank you first!&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;    [CommandMethod(nameof(SizeDocumentWindowTest), CommandFlags.Session)]
    public static void SizeDocumentWindowTest()
    {
        //Size the Document window
        Document acDoc = Acaop.DocumentManager.MdiActiveDocument;

        var count = Acaop.DocumentManager.Count;
        if (Acaop.DocumentManager.Count == 0)
            return;

        acDoc.Window.WindowState = Window.State.Maximized;
        var size = acDoc.Window.GetSize();
        $"size:{size}".Print();
        $"count:{count}".Print();

        acDoc.Window.WindowState = Window.State.Minimized;
        var width = size.Width / count;
        int i = 0;
        foreach (var item in Acaop.DocumentManager)
        {
            if (item is not Document doc)
                continue;
            if (string.IsNullOrEmpty(doc.Name))
                $"doc:{doc.Name}".Print();
            Acaop.DocumentManager.MdiActiveDocument = doc;
            doc.Window.WindowState = Window.State.Normal;
            doc.Window.DeviceIndependentLocation = new System.Windows.Point(width * i, 0);
            doc.Window.DeviceIndependentSize = new Size(width, size.Height);
            i++;
        }

        Acaop.DocumentManager.MdiActiveDocument = acDoc;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2026 13:22:45 GMT</pubDate>
    <dc:creator>Medithaibet</dc:creator>
    <dc:date>2026-03-06T13:22:45Z</dc:date>
    <item>
      <title>How to minimize the start interface window?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-minimize-the-start-interface-window/m-p/14045456#M86627</link>
      <description>&lt;P&gt;When I used the following code to simulate the window equal distribution, I found that if I switch between multiple documents by using the command, the window switching works successfully. However, when I activate other documents, the start interface will cover the display of other documents. If the start interface is minimized, this problem won't occur.&lt;BR /&gt;&lt;BR /&gt;How should I fix this bug ,so how can I make the start interface minimized from the beginning?&lt;BR /&gt;Thank you first!&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;    [CommandMethod(nameof(SizeDocumentWindowTest), CommandFlags.Session)]
    public static void SizeDocumentWindowTest()
    {
        //Size the Document window
        Document acDoc = Acaop.DocumentManager.MdiActiveDocument;

        var count = Acaop.DocumentManager.Count;
        if (Acaop.DocumentManager.Count == 0)
            return;

        acDoc.Window.WindowState = Window.State.Maximized;
        var size = acDoc.Window.GetSize();
        $"size:{size}".Print();
        $"count:{count}".Print();

        acDoc.Window.WindowState = Window.State.Minimized;
        var width = size.Width / count;
        int i = 0;
        foreach (var item in Acaop.DocumentManager)
        {
            if (item is not Document doc)
                continue;
            if (string.IsNullOrEmpty(doc.Name))
                $"doc:{doc.Name}".Print();
            Acaop.DocumentManager.MdiActiveDocument = doc;
            doc.Window.WindowState = Window.State.Normal;
            doc.Window.DeviceIndependentLocation = new System.Windows.Point(width * i, 0);
            doc.Window.DeviceIndependentSize = new Size(width, size.Height);
            i++;
        }

        Acaop.DocumentManager.MdiActiveDocument = acDoc;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 13:22:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-minimize-the-start-interface-window/m-p/14045456#M86627</guid>
      <dc:creator>Medithaibet</dc:creator>
      <dc:date>2026-03-06T13:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to minimize the start interface window?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-minimize-the-start-interface-window/m-p/14045967#M86628</link>
      <description>&lt;P&gt;For your purposes, you should be using the Application's DocumentWindowCollection. Searching this forum on 'DocumentWindowCollection' will lead you to some useful examples.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 21:24:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-minimize-the-start-interface-window/m-p/14045967#M86628</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2026-03-06T21:24:41Z</dc:date>
    </item>
  </channel>
</rss>

