<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Unable to move/resize VS Code</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=89adcf03-e3a3-430a-ac2f-6f344453731c" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=89adcf03-e3a3-430a-ac2f-6f344453731c</link>
<description>DisplayFusion RSS: Unable to move/resize VS Code</description>
<lastBuildDate>Thu, 09 Apr 2026 15:12:53 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=89adcf03-e3a3-430a-ac2f-6f344453731c</generator>
<item>
<title>RE: Unable to move/resize VS Code</title>
<link>https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#5</link>
<pubDate>Thu, 15 Sep 2022 16:06:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[No, just using Code.exe directly]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No, just using Code.exe directly
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Unable to move/resize VS Code</title>
<link>https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#4</link>
<pubDate>Thu, 15 Sep 2022 15:39:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[I tested that code out without the launcher and it worked fine. Are you using this extenstion for the launcher? https://marketplace.visualstudio.com/items?itemName=spmeesseman.vscode-vslauncher]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I tested that code out without the launcher and it worked fine. Are you using this extenstion for the launcher? <a href="https://marketplace.visualstudio.com/items?itemName=spmeesseman.vscode-vslauncher" target="_blank" rel="nofollow"><b>https://marketplace.visualstudio.com/items?itemName=spmeesseman.vscode-vslauncher</b></a>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Unable to move/resize VS Code</title>
<link>https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#3</link>
<pubDate>Tue, 13 Sep 2022 15:56:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Interesting Yes, a trigger to move/resize window on VS Code launch does work.
After further testing, I believe it's may be due to a Visual Studio launcher. This seems to work consistently, but the appId from Start() is often different from the appId from GetAppIDByFile():
Code
Copy
Select All...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Interesting Yes, a trigger to move/resize window on VS Code launch does work.<br/>
After further testing, I believe it's may be due to a Visual Studio launcher. This seems to work consistently, but the appId from Start() is often different from the appId from GetAppIDByFile():<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019d72cda5fb76c0b337bdef5b670521" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d72cda5fb76c0b337bdef5b670521Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019d72cda5fb76c0b337bdef5b670521Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">public static void Run(IntPtr windowHandle)
{
var filename = "C:\\Users\\chemming\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe";
var appId = BFS.Application.Start(filename);
var appId2 = BFS.Application.GetAppIDByFile(filename);
var windowId = BFS.Application.GetMainWindowByAppID(appId2);
BFS.General.LogText("CDH-VS: "+appId.ToString()+" "+appId2.ToString());
BFS.Window.SetSizeAndLocation(windowId, 0, 0, 1200, 1200);
}</pre><textarea id="code019d72cda5fb76c0b337bdef5b670521" name="code019d72cda5fb76c0b337bdef5b670521" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Unable to move/resize VS Code</title>
<link>https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#2</link>
<pubDate>Mon, 12 Sep 2022 16:25:08 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I tested out VS code on my end and it seemed to work fine. If you use one of our move/resize functions directly on that window, rather then through a script, does it work?
You are correct about the command prompt window yep! I've added your vote to it, so we'll be sure to let you know if we have...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I tested out VS code on my end and it seemed to work fine. If you use one of our move/resize functions directly on that window, rather then through a script, does it work?<br/>
<br/>
You are correct about the command prompt window yep! I've added your vote to it, so we'll be sure to let you know if we have any news on it going forward.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Unable to move/resize VS Code</title>
<link>https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c</link>
<pubDate>Sun, 11 Sep 2022 13:30:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/unable-to-moveresize-vs-code/?ID=89adcf03-e3a3-430a-ac2f-6f344453731c</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm trying to set up a multiple window layout, and am not able to move/resize VS Code. It opens in last closed position and won't move or resize:
Code
Copy
Select All
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
var appId = BFS.Application.Star...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm trying to set up a multiple window layout, and am not able to move/resize VS Code. It opens in last closed position and won't move or resize:<br/>
<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019d72cda60673f78d7d985e5e726dea" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d72cda60673f78d7d985e5e726deaJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019d72cda60673f78d7d985e5e726deaJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        var appId = BFS.Application.Start("C:\\Users\\chemming\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","");
        // BFS.General.ThreadWait(3000); // maybe needs to settle?
        var windowId = BFS.Application.GetMainWindowByAppID(appId);
        // BFS.General.ThreadWait(3000); // maybe needs to settle?
        BFS.Window.SetSizeAndLocation(windowId, 0,30,2600, 900);
    }
}</pre><textarea id="code019d72cda60673f78d7d985e5e726dea" name="code019d72cda60673f78d7d985e5e726dea" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Also Cmd console windows won't change width, but am I correct in understanding this is still a known issue?
</div>
]]></content:encoded>
</item>
</channel>
</rss>