<?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: Application Help does not always work in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Application-Help-does-not-always-work/m-p/941441#M17123</link>
    <description>I have worked out why myself. &lt;BR /&gt; &lt;BR /&gt;Its because I didn't have - case (WM_INITDIALOG) - I had deleted it as it didn't appear to do anything!</description>
    <pubDate>Thu, 08 Mar 2001 00:34:11 GMT</pubDate>
    <dc:creator>davidgraham</dc:creator>
    <dc:date>2001-03-08T00:34:11Z</dc:date>
    <item>
      <title>Application Help does not always work</title>
      <link>https://community.intel.com/t5/Software-Archive/Application-Help-does-not-always-work/m-p/941440#M17122</link>
      <description>I have a Window PI project, when a dialog box is displayed I can press F1 and the appropriate help is displayed.     &lt;BR /&gt;This works in most dialogs, but in some cases it does not work.     &lt;BR /&gt;When it works I get a message of 83 - (#0053) and I call my Help routine, but in other dialogs I am not getting the message 83 when I press F1.     &lt;BR /&gt;     &lt;BR /&gt;Any ideas why this is going wrong?     &lt;BR /&gt;     &lt;BR /&gt;Thanks,     &lt;BR /&gt;     &lt;BR /&gt;David      &lt;BR /&gt;     &lt;BR /&gt;&lt;PRE&gt;     
&lt;FONT size="+2"&gt;     
&lt;/FONT&gt;     
SUBROUTINE My Program     
use dfwin     
include 'resource.fd'     
     
interface     
integer*4 function ContourProc(hand, message, wPAram, lParam)      
!MS$  ATTRIBUTES STDCALL, ALIAS : '_MyProc@16' :: MyProc     
integer hwnd, message, wParam, lParam     
end function MyProc     
end interface     
     
integer*4	iret     
iret = DialogBox(hInst,MAKEINTRESOURCE(IDD_MYDLG),hWndMain,LOC(MyProc))      
end subroutine MyProgram     
     
integer*4 function MyProc(hwnd, message, wParam, lParam)      
!MS$ATTRIBUTES STDCALL, ALIAS : '_MyProc@16' :: MyProc     
use dfwin     
include 'resource.fd'     
integer*4	hwnd, message, wParam, lParam     
select case (message)     
case (#0053)			! WM_HELP     
call help       ! displays the correct help topic     
		     
case (WM_SHOWWINDOW)     
! other code     
case (WM_COMMAND)     
! other code     
end select     
end function MyProc     
&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2001 01:00:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Application-Help-does-not-always-work/m-p/941440#M17122</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2001-03-07T01:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Application Help does not always work</title>
      <link>https://community.intel.com/t5/Software-Archive/Application-Help-does-not-always-work/m-p/941441#M17123</link>
      <description>I have worked out why myself. &lt;BR /&gt; &lt;BR /&gt;Its because I didn't have - case (WM_INITDIALOG) - I had deleted it as it didn't appear to do anything!</description>
      <pubDate>Thu, 08 Mar 2001 00:34:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Application-Help-does-not-always-work/m-p/941441#M17123</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2001-03-08T00:34:11Z</dc:date>
    </item>
  </channel>
</rss>

