<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tab Control in QuickWin Dialogs in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933173#M15281</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I activate a main dialog using DlgModal() from QuickWin. When it starts up, I run DlgModeless() to get the tab dialogs going from within the main dialog's callback, and everything works. This was in a test program. I would now like to use this code in an application. Is this safe?&lt;BR /&gt;&lt;BR /&gt;This may work OK.  The problem with DlgModeless and QuickWin is QuickWin's message loop does not handle messages in a way that is compatible with modeless dialog boxes.  However, the use of DlgModeless in a modal dialog box is not *really* creating a modeless dialog box, but is creating a child window of the modal dialog box.  The modal dialog box runs its own message loop while it is active, which is why a modal dialog box is compatible with QuickWin.  So, offhand, I can't think of why it won't work, but you may be the first to try it... ;-).&lt;BR /&gt;&lt;BR /&gt;Let us know if you have any problems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
    <pubDate>Sat, 23 Dec 2000 01:08:50 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2000-12-23T01:08:50Z</dc:date>
    <item>
      <title>Tab Control in QuickWin Dialogs</title>
      <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933172#M15280</link>
      <description>Greetings.  Briefly I'd like to know if you can use the tab control in a dialog box in QuickWin. The documentation states that the dialog that lives on each tab must be activated using DlgModeless().  It also states DlgModeless() must be run in a Win32 app, not QuickWin. &lt;BR /&gt; &lt;BR /&gt;However, I didn't learn this until after I tried it. I activate a main dialog using DlgModal() from QuickWin.  When it starts up, I run DlgModeless() to get the tab dialogs going from within the main dialog's callback, and everything works.  &lt;BR /&gt; &lt;BR /&gt;This was in a test program.  I would now like to use this code in an application.  Is this safe? &lt;BR /&gt; &lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 22 Dec 2000 18:02:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933172#M15280</guid>
      <dc:creator>dws</dc:creator>
      <dc:date>2000-12-22T18:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tab Control in QuickWin Dialogs</title>
      <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933173#M15281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I activate a main dialog using DlgModal() from QuickWin. When it starts up, I run DlgModeless() to get the tab dialogs going from within the main dialog's callback, and everything works. This was in a test program. I would now like to use this code in an application. Is this safe?&lt;BR /&gt;&lt;BR /&gt;This may work OK.  The problem with DlgModeless and QuickWin is QuickWin's message loop does not handle messages in a way that is compatible with modeless dialog boxes.  However, the use of DlgModeless in a modal dialog box is not *really* creating a modeless dialog box, but is creating a child window of the modal dialog box.  The modal dialog box runs its own message loop while it is active, which is why a modal dialog box is compatible with QuickWin.  So, offhand, I can't think of why it won't work, but you may be the first to try it... ;-).&lt;BR /&gt;&lt;BR /&gt;Let us know if you have any problems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
      <pubDate>Sat, 23 Dec 2000 01:08:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933173#M15281</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-23T01:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tab Control in QuickWin Dialogs</title>
      <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933174#M15282</link>
      <description>Thanks.  I've since discovered that although buttons, sliders, scroolbars, and edit boxes work from a tab in QuickWin, radio buttons and check boxes do not fully. With the former, I can use them in the dialog with or without callbacks as I please, and read the final state of the controls after the dialog closes, except for the buttons which don't have a state.  The radio buttons and check boxes, on the other hand,  only work fine until the dialog closes. Their callbacks report the correct values, but their final state is always false.  &lt;BR /&gt;  &lt;BR /&gt;Any ideas?  &lt;BR /&gt;  &lt;BR /&gt;Thanks,  &lt;BR /&gt;Douglass.</description>
      <pubDate>Sat, 23 Dec 2000 09:38:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933174#M15282</guid>
      <dc:creator>dws</dc:creator>
      <dc:date>2000-12-23T09:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tab Control in QuickWin Dialogs</title>
      <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933175#M15283</link>
      <description>Hi Douglass,&lt;BR /&gt;&lt;BR /&gt;This looks like a bug that I have fixed for the next patch kit (due out next month).  There is an easy workaround for now.  Immediately after the call to DlgModal, add a call like the following for each tab dialog box:&lt;BR /&gt;&lt;BR /&gt;    dlg_tab1 % hwnd = 0&lt;BR /&gt;&lt;BR /&gt;Then, your DlgGet calls should retrieve the final values.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
      <pubDate>Thu, 28 Dec 2000 01:46:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933175#M15283</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-28T01:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tab Control in QuickWin Dialogs</title>
      <link>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933176#M15284</link>
      <description>Thanks! Your fix worked. When you said 'Immediately after the call to DlgModal' you sure meant it.  If there is a 'write(*,*)' between DlgModal() and your fix, it doesn't work. This isn't a problem for me, but it's interesting. &lt;BR /&gt; &lt;BR /&gt;Douglass.</description>
      <pubDate>Thu, 28 Dec 2000 05:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Tab-Control-in-QuickWin-Dialogs/m-p/933176#M15284</guid>
      <dc:creator>dws</dc:creator>
      <dc:date>2000-12-28T05:38:00Z</dc:date>
    </item>
  </channel>
</rss>

