<?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[Typ von &amp;quot;VK_NUMPAD7&amp;quot;]]></title><description><![CDATA[<p>Hi !</p>
<p>Ich hab folgenden Code:</p>
<pre><code>Key numKey;

void numPress(Key numKey)
{
	SendMessage(HWC3,WM_KEYDOWN,numKey,0);
	SendMessage(HWC3,WM_KEYUP,numKey,0);
}

if(GetAsyncKeyState(VK_F1)) numKey = VK_NUMPAD7;

numPress(numKey);
</code></pre>
<p>Ich denke er klappt nicht, weil zB. VK_NUMPAD7 nicht vom Typ &quot;Key&quot; ist...</p>
<p>Kann mir jemand sagen, was für Typ das sein müsste ?</p>
<p>Danke !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185533/typ-von-quot-vk_numpad7-quot</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 11:39:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185533.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Jun 2007 17:07:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Typ von &amp;quot;VK_NUMPAD7&amp;quot; on Tue, 26 Jun 2007 17:07:20 GMT]]></title><description><![CDATA[<p>Hi !</p>
<p>Ich hab folgenden Code:</p>
<pre><code>Key numKey;

void numPress(Key numKey)
{
	SendMessage(HWC3,WM_KEYDOWN,numKey,0);
	SendMessage(HWC3,WM_KEYUP,numKey,0);
}

if(GetAsyncKeyState(VK_F1)) numKey = VK_NUMPAD7;

numPress(numKey);
</code></pre>
<p>Ich denke er klappt nicht, weil zB. VK_NUMPAD7 nicht vom Typ &quot;Key&quot; ist...</p>
<p>Kann mir jemand sagen, was für Typ das sein müsste ?</p>
<p>Danke !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314191</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314191</guid><dc:creator><![CDATA[sowieso]]></dc:creator><pubDate>Tue, 26 Jun 2007 17:07:20 GMT</pubDate></item><item><title><![CDATA[Reply to Typ von &amp;quot;VK_NUMPAD7&amp;quot; on Tue, 26 Jun 2007 17:31:53 GMT]]></title><description><![CDATA[<p>Eine integrale Konstante. Das wäre bei der Winapi ein 32bit Integer, also ein DWORD.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314205</guid><dc:creator><![CDATA[lolz]]></dc:creator><pubDate>Tue, 26 Jun 2007 17:31:53 GMT</pubDate></item><item><title><![CDATA[Reply to Typ von &amp;quot;VK_NUMPAD7&amp;quot; on Tue, 26 Jun 2007 18:07:47 GMT]]></title><description><![CDATA[<p>vielen Dank ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314226</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314226</guid><dc:creator><![CDATA[sowieso]]></dc:creator><pubDate>Tue, 26 Jun 2007 18:07:47 GMT</pubDate></item><item><title><![CDATA[Reply to Typ von &amp;quot;VK_NUMPAD7&amp;quot; on Tue, 26 Jun 2007 18:27:55 GMT]]></title><description><![CDATA[<p>Hat keinen Typ, da ein #define.</p>
<pre><code class="language-cpp">#define VK_NUMPAD7        0x67
</code></pre>
<p>Wenn schon dann int, aber sicher nicht DWORD.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314242</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Tue, 26 Jun 2007 18:27:55 GMT</pubDate></item><item><title><![CDATA[Reply to Typ von &amp;quot;VK_NUMPAD7&amp;quot; on Fri, 29 Jun 2007 09:59:56 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314794</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314794</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Fri, 29 Jun 2007 09:59:56 GMT</pubDate></item></channel></rss>