<?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: Is there a way to screen caputre active window / or the entire desktop and not capture any title bar buttons?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=019d1fec-15d5-743e-a58b-aabcb58ecaed" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=019d1fec-15d5-743e-a58b-aabcb58ecaed</link>
<description>DisplayFusion RSS: Is there a way to screen caputre active window / or the entire desktop and not capture any title bar buttons?</description>
<lastBuildDate>Thu, 21 May 2026 14:07:56 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=019d1fec-15d5-743e-a58b-aabcb58ecaed</generator>
<item>
<title>RE: Is there a way to screen caputre active window / or the entire desktop and not capture any title bar buttons?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed#3</link>
<pubDate>Mon, 30 Mar 2026 02:52:41 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can try this to capture a window...
Code
Copy
Select All
using System;
using System.Drawing;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows.Forms;
// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window wh...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can try this to capture a window...<br/>
<br/>
<div 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="#code019e4add48d277a2b449a185ce68878d" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019e4add48d277a2b449a185ce68878dJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;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="code019e4add48d277a2b449a185ce68878dJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows.Forms;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Trigger target when run by a Trigger rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        try
        {
            Bitmap bmp = PrintWindow(windowHandle);
            Clipboard.SetImage(bmp);
        }
        catch (System.Exception ex)
        {
            BFS.Dialog.ShowTrayMessage($"Error capturing window: {ex.Message}");
        }
    }

    [DllImport("user32.dll")]
    public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
    [DllImport("user32.dll")]
    public static extern bool PrintWindow(IntPtr hWnd, IntPtr hdcBlt, int nFlags);

    public static Bitmap PrintWindow(IntPtr hwnd)
    {
        RECT rc;
        GetWindowRect(hwnd, out rc);

        Bitmap bmp = new Bitmap(rc.Width, rc.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
        Graphics gfxBmp = Graphics.FromImage(bmp);
        IntPtr hdcBitmap = gfxBmp.GetHdc();

        PrintWindow(hwnd, hdcBitmap, 0);

        gfxBmp.ReleaseHdc(hdcBitmap);
        gfxBmp.Dispose();

        return bmp;
    }
    [StructLayout(LayoutKind.Sequential)]
    public struct RECT
    {
        private int _Left;
        private int _Top;
        private int _Right;
        private int _Bottom;

        public RECT(int Left, int Top, int Right, int Bottom)
        {
            _Left = Left;
            _Top = Top;
            _Right = Right;
            _Bottom = Bottom;
        }

        public int Height
        {
            get    { return _Bottom - _Top; }
            set { _Bottom = value + _Top; }
        }
        public int Width
        {
            get { return _Right - _Left; }
            set { _Right = value + _Left; }        
        }
    }
}</pre><textarea id="code019e4add48d277a2b449a185ce68878d" name="code019e4add48d277a2b449a185ce68878d" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
It will have the side effect of replacing the usual title bar with one that looks like Vista... but it won't have DF icons.  For your example that has no real titlebar to begin with, it might simply do what you want.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=019d1fec-1ef0-7484-b99b-9a9cdd8b50f3"/>
</item>
<item>
<title>RE: Is there a way to screen caputre active window / or the entire desktop and not capture any title bar buttons?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed#2</link>
<pubDate>Tue, 24 Mar 2026 18:27:38 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[There isn't a way to remove them automatically from screen captures, but we have a function that you can add a hotkey to, for toggling the titlebar buttons on/off that should help here.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
There isn't a way to remove them automatically from screen captures, but we have a function that you can add a hotkey to, for toggling the titlebar buttons on/off that should help here.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=019d1fec-1ef0-7484-b99b-9a9cdd8b50f3"/>
</item>
<item>
<title>Is there a way to screen caputre active window / or the entire desktop and not capture any title bar buttons?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed</link>
<pubDate>Tue, 24 Mar 2026 12:57:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-screen-caputre-active-window-or-the-entire-desktop-and-not-capture-any-title-bar-buttons/?ID=019d1fec-15d5-743e-a58b-aabcb58ecaed</guid>
<category>DisplayFusion</category>
<description><![CDATA[I can capture the active window with ALT+PrtScn, but it includes any TitleBar Buttons in the capture.
Is there any way to be able to create a capture of the active window (or the entire desktop) without capturing title bar buttons?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I can capture the active window with ALT+PrtScn, but it includes any TitleBar Buttons in the capture. <br/>
<br/>
Is there any way to be able to create a capture of the active window (or the entire desktop) without capturing title bar buttons?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=019d1fec-1ef0-7484-b99b-9a9cdd8b50f3"/>
</item>
</channel>
</rss>