﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Turning off the Wait Window bell</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 18 May 2026 13:00:49 GMT</lastBuildDate><ttl>20</ttl><item><title>Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21092.aspx</link><description>Hi,&lt;P&gt;Is there any way of turning off the Wait Window beep - its drives me nuts!!&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Tue, 16 Dec 2008 09:07:41 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21207.aspx</link><description>Edhy,&lt;/P&gt;&lt;P&gt;This isn't 100% in all environments.&amp;nbsp; There are a lot of factors that can come into play here, that is why I pointed out that I could not reproduce this on all machines.&amp;nbsp; But it has to do with modality and the beep outside of that dialog.&amp;nbsp; If I ever get this reproduces on my development machine I will try and come up with a workaround that doesn't involve changing anything.</description><pubDate>Tue, 16 Dec 2008 09:07:41 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21173.aspx</link><description>Hi Peter,&lt;/P&gt;&lt;P&gt;I am glad you found a way to sort of fix this, but there should be something deeper than that since I also have Vista Ultimate and the settings of Default Beep for me is the default one, and I have never seen the wait window causing a Beep.</description><pubDate>Sat, 13 Dec 2008 19:06:58 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21171.aspx</link><description>Hi Guys,&lt;/P&gt;&lt;P&gt;For the record - in my environment (Vista Ultimate) setting Personalise &amp;gt; Sound &amp;gt; Default Beep to None fixed the 'problem'. &lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Fri, 12 Dec 2008 20:22:06 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21149.aspx</link><description>Thank you Gentlemen. Ivan - that was a very handy link.&lt;/P&gt;&lt;P&gt;Unfortunately the specific advice didn't work in my case (and I did a reboot and the beep remained disabled) but I did go into Personalise &amp;gt; Sounds and turned of all system sounds and that removed the wait window beep. So, it just a matter now of finding what what specific windows sound is being generated when the screen modality changes and disabling it.&lt;/P&gt;&lt;P&gt;So much to learn --- so little time!&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Thu, 11 Dec 2008 16:01:38 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21139.aspx</link><description>That was a good link, Ivan.&amp;nbsp; Thanks.</description><pubDate>Thu, 11 Dec 2008 13:40:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21138.aspx</link><description>This might help:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.vista4beginners.com/Disable-System-Beep"&gt;http://www.vista4beginners.com/Disable-System-Beep&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Couldn't test it, as my WaitWindow is behaving well.</description><pubDate>Thu, 11 Dec 2008 13:30:09 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21127.aspx</link><description>Actually, to correct the direction of this post, we actually HAVE seen instances where Windows will force a beep.&amp;nbsp; It has to do with certain environments and it is actually Windows performing the beep, not the Wait&amp;#119;indow.&amp;nbsp; The WaitWindow itself does not have any sound.&amp;nbsp; But under Vista, there have been several reports where the WaitWindow will sound a beep.&amp;nbsp; This has to do with focus changes and the redirection of the focus.&amp;nbsp; I experienced this once but could never reliably reproduce when I sat down on my development machine to try and determine where the sound was coming from.&amp;nbsp; Since the wait window can be shown as an independent dialog or as a child of another form, this can also have an impact.&amp;nbsp; I will try and set this up, but for the record here, the WaitWindow itself does not make a sound...it is Windows attempting to address the focus and/or the modality of the dialog.&amp;nbsp; The beep you are hearing is the same sound you would hear if you had a modal dialog up and then click outside of that dialog.</description><pubDate>Thu, 11 Dec 2008 09:50:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21126.aspx</link><description>Hi Edhy,&lt;/P&gt;&lt;P&gt;Thanks for the follow-up. Actually I did check that out and it was ok.&amp;nbsp;It couldn't really be in that area as all our UI is localasied so it would have being doing a lot more than 'driving me nuts' if we had a beep every time a string was localised!&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Thu, 11 Dec 2008 01:57:40 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21125.aspx</link><description>&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color=#dd1111&gt;Please disregard my previous post, I did not notice you have an overload method.&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Check the clsLOC.Localise() method to see if the beep is coming from there, test your method wihout using the clsLOC.Localise or put a break there to see where you are actually getting the beep.</description><pubDate>Wed, 10 Dec 2008 20:48:11 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21124.aspx</link><description>Peter the problem is that your method ShowTheWaitWindow is not using the waitwindow parameter, it is calling itself "ShowTheWaitWindow"&amp;nbsp;again&lt;/P&gt;&lt;P&gt;[codesnippet][code]&lt;/P&gt;&lt;P&gt;Public Shared Sub ShowTheWaitWindow(ByVal WaitWindow As MicroFour.StrataFrame.Messaging.WaitWindow)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Show we are doing something using default mesages&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' &lt;STRONG&gt;ShowTheWaitWindow&lt;/STRONG&gt;(WaitWindow, "PleaseWait", "RefreshingData") ' This line is wrong, should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;WaitWindow&lt;/STRONG&gt;.ShowWaitWindow("PleaseWait", "RefreshingData")&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;[/code][/codesnippet]</description><pubDate>Wed, 10 Dec 2008 20:35:47 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21115.aspx</link><description>&lt;BR&gt;Hi Dustin,&lt;/P&gt;&lt;P&gt;Well, here's the issue. It is definitely the WaitWindow that is causing the beep. I know this because if I remove the calls to WaitWindow it works ok. However, we call WaitWindow in utility class but, if the code is the form itself (as in Edhy's example), then no problems, e.g.&lt;/P&gt;&lt;P&gt;This doesn't beep:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub PopulateGrids()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.WaitWindow1.Message = "Please Wait. Refreshing Data.."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.BoOTA1.RefreshBO()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.BoOTY1.RefreshBO()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.WaitWindow1.HideWaitWindow()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&lt;BR&gt;But this does:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub PopulateGrids()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clsFU.ShowTheWaitWindow(Me.WaitWindow1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.BoOTA1.RefreshBO()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.BoOTY1.RefreshBO()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clsFU.HideTheWaitWindow(Me.WaitWindow1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&lt;BR&gt;The utility class code is:&lt;/P&gt;&lt;P&gt;#Region " Handle Wait Windows "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Shared Sub ShowTheWaitWindow(ByVal WaitWindow As MicroFour.StrataFrame.Messaging.WaitWindow)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Show we are doing something using default mesages&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowTheWaitWindow(WaitWindow, "PleaseWait", "RefreshingData")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Shared Sub ShowTheWaitWindow(ByVal WaitWindow As MicroFour.StrataFrame.Messaging.WaitWindow, _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ByVal WaitMessageLocKey As String, _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ByVal ReasonMessageLocKey As String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Show we are doing something&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Windows.Forms.Cursor.Current = Cursors.WaitCursor&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wait&amp;#119;indow.ShowWaitWindow(clsLOC.Localise(WaitMessageLocKey), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clsLOC.Localise(ReasonMessageLocKey), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MicroFour.StrataFrame.Messaging.MessagingCardinalPosition.Center)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Shared Sub HideTheWaitWindow(ByVal WaitWindow As MicroFour.StrataFrame.Messaging.WaitWindow)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' The refresh is over - hide the wait window&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Windows.Forms.Cursor.Current = Cursors.Default&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wait&amp;#119;indow.HideWaitWindow()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;#End Region&lt;/P&gt;&lt;P&gt;&lt;BR&gt;We use DevExpress for our UI - could this be influencing things in anyway?&lt;/P&gt;&lt;P&gt;Cheers, Peter&lt;BR&gt;</description><pubDate>Wed, 10 Dec 2008 16:11:00 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21105.aspx</link><description>Nope it shouldn't be soudning a beep. &lt;/P&gt;&lt;P&gt;Depending on the context you are using to call it, it might cause an error or notification bell to fire. For example, if you are calling it from a combo and in the process are causing an unhandled keypress, it might beep at you.&lt;/P&gt;&lt;P&gt;I'd try creating a new solution call the wait window from a button on a blank form to remove everything else from the equation. If it still beeps there let us know and we'll take a closer look, but it shouldn't :).</description><pubDate>Wed, 10 Dec 2008 08:56:46 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21104.aspx</link><description>Peter, this is the code I use for the wait &amp;#119;indow...&lt;P&gt;[codesnippet][code]&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Cursor = Cursors.WaitCursor&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.WaitWindow1.Message = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"Please wait, Creating Invoice Number "&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &amp;amp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.BizServiceCalls1.InvoiceNumber &amp;amp; &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"..."&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;[/code][/codesnippet]&lt;/P&gt;&lt;P&gt;Of course there is more code prior to ShowMessage and HideWait&amp;#119;indow.</description><pubDate>Wed, 10 Dec 2008 00:30:06 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21103.aspx</link><description>Hi Edhy,&lt;/P&gt;&lt;P&gt;Well that's interesting. Your comment made me think that,&amp;nbsp;maybe,&amp;nbsp;I was triggering something else in my environment&amp;nbsp;however when I look at our library code for showing / hiding the wait window the only thing extra it does is change the form's Cursor.Current property which doesn't cause a beep.&lt;/P&gt;&lt;P&gt;I guess I will await SF's confirmation that the wait window doesn't beep then delve a bit deeper into my environment.&lt;/P&gt;&lt;P&gt;Cheers, Peter&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 09 Dec 2008 21:34:14 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Turning off the Wait Window bell</title><link>http://forum.strataframe.net/FindPost21102.aspx</link><description>Hi Peter,&lt;/P&gt;&lt;P&gt;I use the Wait Window control and mine does not sound any beep.</description><pubDate>Tue, 09 Dec 2008 20:19:07 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>