<?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 Accelerator keys in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941532#M17147</link>
    <description>Hello, I have an SDI application that uses one edit control as simple file viewer. I have associated the key combination Ctrl+C as short cut key with the "copy" menu entry. I use  "LoadAccelerators" to load the accelerator table and I use "TranslateAccelerator" in the message loop. &lt;BR /&gt;The menu entry for copy does what it has to do and so does the standard short cut for copy (ctrl+insert). But the short cut I defined (ctrl+C) doesn't function. In fact none of the short cut keys I associated to menu entries in the accelerator table do what they should do. &lt;BR /&gt; &lt;BR /&gt;Any ideas? Thanks, &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
    <pubDate>Wed, 07 Mar 2001 01:13:51 GMT</pubDate>
    <dc:creator>wkramer</dc:creator>
    <dc:date>2001-03-07T01:13:51Z</dc:date>
    <item>
      <title>Accelerator keys</title>
      <link>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941532#M17147</link>
      <description>Hello, I have an SDI application that uses one edit control as simple file viewer. I have associated the key combination Ctrl+C as short cut key with the "copy" menu entry. I use  "LoadAccelerators" to load the accelerator table and I use "TranslateAccelerator" in the message loop. &lt;BR /&gt;The menu entry for copy does what it has to do and so does the standard short cut for copy (ctrl+insert). But the short cut I defined (ctrl+C) doesn't function. In fact none of the short cut keys I associated to menu entries in the accelerator table do what they should do. &lt;BR /&gt; &lt;BR /&gt;Any ideas? Thanks, &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Wed, 07 Mar 2001 01:13:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941532#M17147</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2001-03-07T01:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerator keys</title>
      <link>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941533#M17148</link>
      <description>TranslateAccelerator as the first argument has handle of the window &lt;I&gt;accelerator is intended for&lt;/I&gt;. I assume that you have in the message &lt;BR /&gt;loop: &lt;BR /&gt; &lt;BR /&gt;&lt;PRE&gt; 
      IF (.NOT.TranslateAccelerator(Mesg%hWnd, hAccelTable, Mesg)) THEN 
            iSt=TranslateMessage(Mesg) 
            iSt=DispatchMessage(Mesg) 
      END IF 
&lt;/PRE&gt; &lt;BR /&gt; &lt;BR /&gt;instead, replace it with &lt;BR /&gt; &lt;BR /&gt;IF (.NOT.TranslateAccelerator(&lt;B&gt;hFrame&lt;/B&gt;, hAccelTable, Mesg)) THEN &lt;BR /&gt;... &lt;BR /&gt; &lt;BR /&gt;and it should work OK (hFrame is apparently the handle of the frame window). The other way, WM_COMMAND goes to the edit control, which neither handles it nor passes it to its parent window. &lt;BR /&gt; &lt;BR /&gt;HTH &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Wed, 07 Mar 2001 02:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941533#M17148</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-03-07T02:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerator keys</title>
      <link>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941534#M17149</link>
      <description>Yes, you are as always right. &lt;BR /&gt; &lt;BR /&gt;Thank you, &lt;BR /&gt; &lt;BR /&gt;Walter</description>
      <pubDate>Wed, 07 Mar 2001 03:18:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Accelerator-keys/m-p/941534#M17149</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2001-03-07T03:18:55Z</dc:date>
    </item>
  </channel>
</rss>

