﻿<?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?)  » InfoBox.NotifyBoxSettings - How to use it correctly</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 11:33:09 GMT</lastBuildDate><ttl>20</ttl><item><title>InfoBox.NotifyBoxSettings - How to use it correctly</title><link>http://forum.strataframe.net/FindPost32047.aspx</link><description>&lt;div&gt;Hi..&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I Have a InfoBox.NotifyBoxSettings, that I call in another thread of the app.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;It is a stock trade screen, full of settings during all the time, with a lot of combos and other components ...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;The problem is that when the&amp;nbsp;InfoBox.NotifyBoxSettings appers, and I ´m editing or with a combo open (selecting a broker...) it closes it and get the value of the combo, that was in a selection process...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;How can I avoid this behavior ?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Regards,</description><pubDate>Tue, 07 May 2013 11:48:50 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: InfoBox.NotifyBoxSettings - How to use it correctly</title><link>http://forum.strataframe.net/FindPost32053.aspx</link><description>Thank you for a roadmap ...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I will try it.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Regards,</description><pubDate>Tue, 07 May 2013 11:48:50 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: InfoBox.NotifyBoxSettings - How to use it correctly</title><link>http://forum.strataframe.net/FindPost32050.aspx</link><description>You would need to use a System.Threading.ManualResetEvent to prevent the other thread from showing the InfoBox. &amp;nbsp;Both threads would need a reference to it, so put it somewhere (static field or something) where they can both see it. &amp;nbsp;Create it with True in the constructor so it starts already signaled; that way, if you never open the combo box, the InfoBox isn't blocked. &amp;nbsp;Then, in the DropDownOpened (or whatever the event is, I can't remember), call .Reset() on the ManualResetEvent, and when the drop down closes or when you're ready to allow the InfoBox to show, call .Set() on it. &amp;nbsp;Lastly, in the thread that shows the InfoBox, call .WaitOne() on the ManualResetEvent right before the InfoBox is shown. &amp;nbsp;This will cause that other thread to block until the combo box closes and you call .Set() on the main thread.</description><pubDate>Tue, 07 May 2013 07:42:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: InfoBox.NotifyBoxSettings - How to use it correctly</title><link>http://forum.strataframe.net/FindPost32048.aspx</link><description>Hi Marcelo.&lt;br/&gt;&lt;br/&gt;Don't know how you coded the other thread and maybe a sample application would help. But have you tried using a BackgroundWorker to show your InfoBox on its ProgressChanged event?</description><pubDate>Tue, 07 May 2013 04:31:09 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>