<?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: New scripting functionality: Window Hook</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=e9301973-feaf-45e7-b98a-f4c4c0868e1a" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=e9301973-feaf-45e7-b98a-f4c4c0868e1a</link>
<description>DisplayFusion RSS: New scripting functionality: Window Hook</description>
<lastBuildDate>Thu, 16 Apr 2026 11:25:26 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=e9301973-feaf-45e7-b98a-f4c4c0868e1a</generator>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#9</link>
<pubDate>Thu, 21 Jul 2016 19:01:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[DisplayFusion does this already for some features, but it's very complex and not something we could expose in our scripting functions.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
DisplayFusion does this already for some features, but it's very complex and not something we could expose in our scripting functions. <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-frown.light.svg" alt=":(" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":(" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#8</link>
<pubDate>Wed, 20 Jul 2016 18:49:37 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yes, I think bridging over from the injected native code DLL to a managed code event or function call is they tricky heart of what SpyWorks does]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, I think bridging over from the injected native code DLL to a managed code event or function call is they tricky heart of what SpyWorks does <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#7</link>
<pubDate>Wed, 20 Jul 2016 15:26:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[We are doing this, but the injected code that runs is all native code, not the managed code the Scripted Functions are written in.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
We are doing this, but the injected code that runs is all native code, not the managed code the Scripted Functions are written in.  <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-frown.light.svg" alt=":(" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":(" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#6</link>
<pubDate>Tue, 19 Jul 2016 21:15:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[I figured you are already injecting a DLL into every process with Windows anyway...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I figured you are already injecting a DLL into every process with Windows anyway... <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#5</link>
<pubDate>Mon, 18 Jul 2016 15:14:07 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Unfortunately many of these hooks require native DLLs, not the managed code that the scripts run in. It's a very powerful idea though, we'll keep in mind if we can come up with a safe way to do this in the future.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Unfortunately many of these hooks require native DLLs, not the managed code that the scripts run in. It's a very powerful idea though, we'll keep in mind if we can come up with a safe way to do this in the future.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#4</link>
<pubDate>Thu, 14 Jul 2016 18:33:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[A generic Window Hook that captures all Window events would be nice (imagine implementing Spy++), or maybe one with some type of class filter would be fine. Perhaps something like SetWinEventHook or SetWindowsHookEx? Something like a simplified version of SpyWorks perhaps?
Imagine I was trying t...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
A generic Window Hook that captures all Window events would be nice (imagine implementing Spy++), or maybe one with some type of class filter would be fine. Perhaps something like SetWinEventHook or SetWindowsHookEx? Something like a simplified version of SpyWorks perhaps?<br/>
<br/>
Imagine I was trying to convert minimize button right-clicks to be Minimize to Tray <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-laugh-squint.light.svg" alt=":D" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":D" HelpButtonDataAlign="BelowMiddle" /><br/>
<br/>
I would want to look for a WM_NCRBUTTONUP message with a HTMINBUTTON wParam and call Minimize to Tray.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#3</link>
<pubDate>Wed, 13 Jul 2016 17:54:49 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[What types of window hooks and events are you trying to capture?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
What types of window hooks and events are you trying to capture?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#2</link>
<pubDate>Thu, 07 Jul 2016 15:43:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'll pass this along to our devs to see what insight they can offer on this]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'll pass this along to our devs to see what insight they can offer on this <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>New scripting functionality: Window Hook</title>
<link>https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a</link>
<pubDate>Wed, 06 Jul 2016 23:02:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/new-scripting-functionality-window-hook/?ID=e9301973-feaf-45e7-b98a-f4c4c0868e1a</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm not sure how you could add this (easily), but I am wondering if you could add some type of Window Hook event to BFS so that a trigger (such as Window Created) could setup a Window Hook for the new Window, calling a C# function and then modifying/capturing Window events.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm not sure how you could add this (easily), but I am wondering if you could add some type of Window Hook event to BFS so that a trigger (such as Window Created) could setup a Window Hook for the new Window, calling a C# function and then modifying/capturing Window events.
</div>
]]></content:encoded>
</item>
</channel>
</rss>