<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mit Accelerator (Shortcuts) geht Tab nicht mehr]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich habe in meine Anwendung den folgenden Code eingebaut, damit die Shortcuts auch in einer Dialog-Anwendung funktionieren:</p>
<pre><code class="language-cpp">BOOL CtestDlg::PreTranslateMessage(MSG* pMsg) 
{ 
	if (pMsg-&gt;message &gt;= WM_KEYFIRST &amp;&amp; pMsg-&gt;message &lt;= WM_KEYLAST) { 
		return ::TranslateAccelerator(m_hWnd, (HACCEL__ *)m_hAccel, pMsg); 
	} 
	return CDialog::PreTranslateMessage(pMsg); 
}
</code></pre>
<p>Das funktioniert ja auch wunderbar, aber nun geht halt das &quot;Weitertabben&quot; (was für ein Wort <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> ) nicht mehr...<br />
Wäre cool, wenn das wieder gehen würde...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/154849/mit-accelerator-shortcuts-geht-tab-nicht-mehr</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Jul 2026 02:07:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/154849.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Jul 2006 11:53:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mit Accelerator (Shortcuts) geht Tab nicht mehr on Mon, 31 Jul 2006 11:53:19 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich habe in meine Anwendung den folgenden Code eingebaut, damit die Shortcuts auch in einer Dialog-Anwendung funktionieren:</p>
<pre><code class="language-cpp">BOOL CtestDlg::PreTranslateMessage(MSG* pMsg) 
{ 
	if (pMsg-&gt;message &gt;= WM_KEYFIRST &amp;&amp; pMsg-&gt;message &lt;= WM_KEYLAST) { 
		return ::TranslateAccelerator(m_hWnd, (HACCEL__ *)m_hAccel, pMsg); 
	} 
	return CDialog::PreTranslateMessage(pMsg); 
}
</code></pre>
<p>Das funktioniert ja auch wunderbar, aber nun geht halt das &quot;Weitertabben&quot; (was für ein Wort <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> ) nicht mehr...<br />
Wäre cool, wenn das wieder gehen würde...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1107701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107701</guid><dc:creator><![CDATA[Pegasus]]></dc:creator><pubDate>Mon, 31 Jul 2006 11:53:19 GMT</pubDate></item><item><title><![CDATA[Reply to Mit Accelerator (Shortcuts) geht Tab nicht mehr on Mon, 31 Jul 2006 12:02:06 GMT]]></title><description><![CDATA[<p>schau mal ob sich pMsg-&gt;wParam ändert, wenn du unterschiedliche Tasten drückst, falls ja setzt du</p>
<pre><code>[cpp]
BOOL CtestDlg::PreTranslateMessage(MSG* pMsg)
{
    if (pMsg-&gt;message &gt;= WM_KEYFIRST &amp;&amp; pMsg-&gt;message &lt;= WM_KEYLAST &amp;&amp; pMsg-&gt;wParam != VK_TAB) {
        return ::TranslateAccelerator(m_hWnd, (HACCEL__ *)m_hAccel, pMsg);
    }
    return CDialog::PreTranslateMessage(pMsg);
}
[/cpp]
</code></pre>
<p>ein.</p>
<p>und drück die DAumen, dass es geht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1107707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107707</guid><dc:creator><![CDATA[ESS_CB]]></dc:creator><pubDate>Mon, 31 Jul 2006 12:02:06 GMT</pubDate></item><item><title><![CDATA[Reply to Mit Accelerator (Shortcuts) geht Tab nicht mehr on Mon, 31 Jul 2006 12:18:26 GMT]]></title><description><![CDATA[<p>Juhu, es geht! Danke, danke, danke! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1107722</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107722</guid><dc:creator><![CDATA[Pegasus]]></dc:creator><pubDate>Mon, 31 Jul 2006 12:18:26 GMT</pubDate></item><item><title><![CDATA[Reply to Mit Accelerator (Shortcuts) geht Tab nicht mehr on Wed, 04 Oct 2006 13:55:24 GMT]]></title><description><![CDATA[<p>Ich habe ein MDI mit einer DockBar, welche ein CDialog anzeigt. Dieser Dialog hatte die Shortcuts gefressen!</p>
<p>Deine Lösung ein wenig geändert:</p>
<pre><code class="language-cpp">BOOL CDlgBasisdaten::PreTranslateMessage(MSG* pMsg) 
{
	if (pMsg-&gt;message &gt;= WM_KEYFIRST &amp;&amp; pMsg-&gt;message &lt;= WM_KEYLAST &amp;&amp; pMsg-&gt;wParam != VK_TAB) {
		::AfxGetMainWnd()-&gt;PreTranslateMessage(pMsg);
	}
	return CDialog::PreTranslateMessage(pMsg);
}
</code></pre>
<p>thx.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1149283</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1149283</guid><dc:creator><![CDATA[toosten]]></dc:creator><pubDate>Wed, 04 Oct 2006 13:55:24 GMT</pubDate></item></channel></rss>