<?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: BFS.Dialog.ShowTrayMessage not working in Windows 11 DF10.0(Beta 11)</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=1ac532e7-3555-4dd3-8091-b56b3d2f870f" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=1ac532e7-3555-4dd3-8091-b56b3d2f870f</link>
<description>DisplayFusion RSS: BFS.Dialog.ShowTrayMessage not working in Windows 11 DF10.0(Beta 11)</description>
<lastBuildDate>Thu, 09 Apr 2026 15:32:46 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=1ac532e7-3555-4dd3-8091-b56b3d2f870f</generator>
<item>
<title>RE: BFS.Dialog.ShowTrayMessage not working in Windows 11 DF10.0(Beta 11)</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdialogshowtraymessage-not-working-in-windows-11-df100beta-11/?ID=1ac532e7-3555-4dd3-8091-b56b3d2f870f#2</link>
<pubDate>Thu, 27 Jan 2022 20:24:02 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdialogshowtraymessage-not-working-in-windows-11-df100beta-11/?ID=1ac532e7-3555-4dd3-8091-b56b3d2f870f#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi Michel,
The script looks okay, do any tray notifications work for you? For example if you run the "Set Next Playback Device as Default" function, does anything appear?
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi Michel,<br/>
<br/>
The script looks okay, do any tray notifications work for you? For example if you run the "Set Next Playback Device as Default" function, does anything appear?<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>BFS.Dialog.ShowTrayMessage not working in Windows 11 DF10.0(Beta 11)</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdialogshowtraymessage-not-working-in-windows-11-df100beta-11/?ID=1ac532e7-3555-4dd3-8091-b56b3d2f870f</link>
<pubDate>Tue, 25 Jan 2022 18:42:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdialogshowtraymessage-not-working-in-windows-11-df100beta-11/?ID=1ac532e7-3555-4dd3-8091-b56b3d2f870f</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm using a modified scripted function of the 'Change Audio Device by Wildcard'.
Code
Copy
Select All
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
string[] audioDevices = BFS.Audio.GetPlaybackDevices();
fo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm using a modified scripted function of the 'Change Audio Device by Wildcard'.<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="#code019d72dfda7975ffb8d0f2f88742b458" 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('code019d72dfda7975ffb8d0f2f88742b458Js'); 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="code019d72dfda7975ffb8d0f2f88742b458Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        string[] audioDevices = BFS.Audio.GetPlaybackDevices();
        foreach (string device in audioDevices)
        {
            if (device.Contains("Corsair")){
                BFS.Audio.SetDefaultPlaybackSounds(device);
                BFS.Dialog.ShowTrayMessage("Audio set to Corsair Headset");
            }
        }
    }
}</pre><textarea id="code019d72dfda7975ffb8d0f2f88742b458" name="code019d72dfda7975ffb8d0f2f88742b458" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
The only modification really is this line <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="#code019d72dfda7c71b8ac2c66c3525f22d5" 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('code019d72dfda7c71b8ac2c66c3525f22d5Js'); 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="code019d72dfda7c71b8ac2c66c3525f22d5Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Dialog.ShowTrayMessage("Audio set to Corsair Headset");</pre><textarea id="code019d72dfda7c71b8ac2c66c3525f22d5" name="code019d72dfda7c71b8ac2c66c3525f22d5" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
The script changes the audio device successfully but fails to display the tray message toast notification. Nothing shows in the notification panel either.<br/>
<br/>
The above script was tested successfully on Win 10 DF9.9
</div>
]]></content:encoded>
</item>
</channel>
</rss>