<?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: How do you hide the floated window with the main window?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=babd23b4-2daf-418d-a7ca-153e3190c8c3" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=babd23b4-2daf-418d-a7ca-153e3190c8c3</link>
<description>DisplayFusion RSS: How do you hide the floated window with the main window?</description>
<lastBuildDate>Sun, 19 Apr 2026 12:14:18 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=babd23b4-2daf-418d-a7ca-153e3190c8c3</generator>
<item>
<title>RE: How do you hide the floated window with the main window?</title>
<link>https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#5</link>
<pubDate>Thu, 31 Jan 2019 16:58:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I've checked in with our developers, and they said that those windows should be top-level windows with this class: BFS.Window.GetWindowByClass("SunAwtFrame")
Could you try that to get those windows?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I've checked in with our developers, and they said that those windows should be top-level windows with this class: BFS.Window.GetWindowByClass("SunAwtFrame")<br/>
<br/>
Could you try that to get those windows?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: How do you hide the floated window with the main window?</title>
<link>https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#4</link>
<pubDate>Fri, 25 Jan 2019 18:56:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, turns out I was wrong on the ChildWindows function. There may be a way to do this, I will check in with our developers to see if they can do an example script that would get those types of windows.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, turns out I was wrong on the ChildWindows function. There may be a way to do this, I will check in with our developers to see if they can do an example script that would get those types of windows.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: How do you hide the floated window with the main window?</title>
<link>https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#3</link>
<pubDate>Tue, 22 Jan 2019 20:11:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[The program is WebStorm, a JavaScript IDE. https://www.jetbrains.com/webstorm/
But the  BFS.Window.GetChildWindowByClass() does not return any window handler.
Please see my funciton below:
IntPtr[] windowHandles = BFS.Window.GetWindowsByText("*WebStorm*");
IntPtr childWinHandle;
foreach(IntP...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The program is WebStorm, a JavaScript IDE. https://www.jetbrains.com/webstorm/<br/>
<br/>
But the  BFS.Window.GetChildWindowByClass() does not return any window handler.<br/>
Please see my funciton below:<br/>
<br/>
        IntPtr[] windowHandles = BFS.Window.GetWindowsByText("*WebStorm*");<br/>
        IntPtr childWinHandle;<br/>
        <br/>
      <br/>
        <br/>
    <br/>
        foreach(IntPtr theHanlder in windowHandles){<br/>
            // *********** not work!!<br/>
            childWinHandle = BFS.Window.GetChildWindowByClass(theHanlder, "SunAwtFrame");<br/>
            ShowWindow(childWinHandle, ShowWindowEnum.SW_HIDE); <br/>
            <br/>
            // This line works, the main windows are hidden.<br/>
            ShowWindow(theHanlder, ShowWindowEnum.SW_HIDE);   <br/>
                    <br/>
              <br/>
           <br/>
        }
</div>
]]></content:encoded>
</item>
<item>
<title>RE: How do you hide the floated window with the main window?</title>
<link>https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#2</link>
<pubDate>Tue, 22 Jan 2019 18:32:02 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You might need to use the BFS.Window.GetChildWindowByClass function. You can use Window Inspector to find out the window class for those windows.
Hope that helps!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You might need to use the BFS.Window.GetChildWindowByClass function. You can use <a href="https://www.binaryfortress.com/WindowInspector/" target="_blank" rel="nofollow"><b>Window Inspector</b></a> to find out the window class for those windows.<br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>How do you hide the floated window with the main window?</title>
<link>https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3</link>
<pubDate>Mon, 21 Jan 2019 20:56:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-do-you-hide-the-floated-window-with-the-main-window/?ID=babd23b4-2daf-418d-a7ca-153e3190c8c3</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have a program which could open multiple floated windows. I'd like to hide all of windows of this program.
I create custome function, but I cannot figure out a way to get the floated windows' handlers.
IntPtr[] windowHandles = BFS.Window.GetWindowsByText("*WebStorm*");
foreach(IntPtr theHanl...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have a program which could open multiple floated windows. I'd like to hide all of windows of this program.<br/>
I create custome function, but I cannot figure out a way to get the floated windows' handlers.<br/>
<br/>
 IntPtr[] windowHandles = BFS.Window.GetWindowsByText("*WebStorm*");<br/>
        <br/>
        <br/>
        foreach(IntPtr theHanlder in windowHandles){<br/>
            // Hide the window<br/>
            ShowWindow(theHanlder, ShowWindowEnum.SW_HIDE);        <br/>
            <br/>
            // ***** The main window is hiden, but how can I hide the floated window also? *******<br/>
           <br/>
        }
</div>
]]></content:encoded>
</item>
</channel>
</rss>