<?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: Edit controls and Windows XP Service Pack 2 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795529#M34978</link>
    <description>&lt;DIV&gt;...but I don't see from earlier messages &lt;STRONG&gt;&lt;EM&gt;which Visual Fortran&lt;/EM&gt;&lt;/STRONG&gt;? Intel or Compaq?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Sep 2004 18:18:46 GMT</pubDate>
    <dc:creator>Jugoslav_Dujic</dc:creator>
    <dc:date>2004-09-01T18:18:46Z</dc:date>
    <item>
      <title>Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795523#M34972</link>
      <description>&lt;DIV&gt;Since I installed windows XP Service Pack 2, edit controls in dialogs of my Visual fortran applications can no longer be modified (arrow and delete keys work, but no text/numbers can be entered).The simplest way of observing the bug is to create a dialog based sample code application using the application wizzard, to add an edit control to the dialog in the resource editor and to open two instances of the dialog: eg in the WinMain&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;    ghInstance = hInstance
    ghModule = GetModuleHandle(NULL)
    ghwndMain = NULL
    lret = DlgInit(IDD_dlgtest_DIALOG, gdlg)
    if (lret == .FALSE.) goto 99999
    lret = DlgInit(IDD_dlgtest_DIALOG, gdlg2)
    if (lret == .FALSE.) goto 99999
    lret = DlgSetSub(gdlg, IDD_dlgtest_DIALOG, dlgtestSub)
    lret = DlgSetSub(gdlg, IDM_APPLY, dlgtestApply)
    lret = DlgModeless(gdlg, nCmdShow)   
    if (lret == .FALSE.) goto 99999
    lret = DlgModeless(gdlg2, nCmdShow,gdlg%hwnd)
    if (lret == .FALSE.) goto 99999
&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;with gdlg2 defined as a global variable of type dialog.None of the edit controls will be editable. If you close the child dialog, the edit control of the parent becomes editable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;Does anyone know of a reason for such behaviour, a workaround or a fix ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Aug 2004 15:41:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795523#M34972</guid>
      <dc:creator>borisk</dc:creator>
      <dc:date>2004-08-31T15:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795524#M34973</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;To be more precise, in the previous example if you try editing the content of the edit control of the child dialog first, you'll be able to do so, but if you try editing the edit control of the parent control first, then none of the edit controls will respond until you close the child dialog.&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Aug 2004 15:53:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795524#M34973</guid>
      <dc:creator>borisk</dc:creator>
      <dc:date>2004-08-31T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795525#M34974</link>
      <description>&lt;DIV&gt;Don't know what happened there, and I don't have a XP handy. However, does it perhaps work with this message loop?:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;DO WHILE( GetMessage(Mesg,NULL,0,0) .NEQV. .FALSE.)
      hActive=GetActiveWindow()
      iStyle=GetWindowLong(hActive,GWL_EXSTYLE)
      IF (IAND(iStyle,WS_EX_CONTROLPARENT).NE.0) THEN
            IF (.NOT.IsDialogMessage(hActive, Mesg)) THEN
                  iSt=TranslateMessage(Mesg)
                  iSt=DispatchMessage(Mesg)
            END IF
      ELSE
            iSt=TranslateMessage(Mesg)
            iSt=DispatchMessage(Mesg)
      END IF
END DO
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If it does, it means something is broken with DlgIsDlgMessage... in any case, please attach a complete zipped workspace and I'll (try to) take a look.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Aug 2004 22:31:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795525#M34974</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-08-31T22:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795526#M34975</link>
      <description>&lt;DIV&gt;I haven't tried the message loop you suggested with service pack 2 yet since I had to unsintall SP2 to be able to continue my work (because of the aforementioned bug).&lt;/DIV&gt;
&lt;DIV&gt;I'll try it when I have a spare couple of hours to install/uninstall sp2.&lt;/DIV&gt;
&lt;DIV&gt;In the meanwhile here's the (really basic) project which causes the bug with WinXP SP2 (it works perfectly well with XP SP1).&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Sep 2004 07:19:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795526#M34975</guid>
      <dc:creator>borisk</dc:creator>
      <dc:date>2004-09-01T07:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795527#M34976</link>
      <description>I tried it on my SP2 system and couldn't detect a problem.  I could enter text into either of the boxes.  What should I be seeing?</description>
      <pubDate>Wed, 01 Sep 2004 08:06:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795527#M34976</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-09-01T08:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795528#M34977</link>
      <description>&lt;DIV&gt;As described in the second message, with SP2 installed, if I try entering text in the edit control of the parent dialog before I enter text in the child dialog, none of the edit controls responds. &lt;/DIV&gt;
&lt;DIV&gt;This works fine on your xp sp2 system ?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Sep 2004 08:13:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795528#M34977</guid>
      <dc:creator>borisk</dc:creator>
      <dc:date>2004-09-01T08:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795529#M34978</link>
      <description>&lt;DIV&gt;...but I don't see from earlier messages &lt;STRONG&gt;&lt;EM&gt;which Visual Fortran&lt;/EM&gt;&lt;/STRONG&gt;? Intel or Compaq?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Sep 2004 18:18:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795529#M34978</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-09-01T18:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Edit controls and Windows XP Service Pack 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795530#M34979</link>
      <description>&lt;DIV&gt;No - I could enter text in either edit control in either order on my SP2 system.&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Sep 2004 20:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Edit-controls-and-Windows-XP-Service-Pack-2/m-p/795530#M34979</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-09-01T20:19:33Z</dc:date>
    </item>
  </channel>
</rss>

