<?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[Mausincrementer]]></title><description><![CDATA[<p>Hallo Leute!!</p>
<p>Ich brauche einen WinApi Befehl der Mausbewegungen abfängt.</p>
<p>Damit möchte ich einen Punkt in einem Dreidimensionalen Punkt bewegen.</p>
<p>Ich habe also X, Y und Z</p>
<p>Bewege ich die Maus nach rechts oder link wird die X Variable entweder incrementiert (++) oder decrementiert(--).</p>
<p>Bewege ich die Maus nach oben oder unten wird die Y Variable entweder incrementiert (++) oder decrementiert(--).</p>
<p>Das Scrollrad soll die Z Achse dar stellen. Hier wird die Variable Z incrementiert (++) oder decrementiert(--).</p>
<p>Hat jemand eine Idee wie das machbar ist?</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/243673/mausincrementer</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 00:35:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/243673.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jun 2009 17:12:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 17:12:02 GMT]]></title><description><![CDATA[<p>Hallo Leute!!</p>
<p>Ich brauche einen WinApi Befehl der Mausbewegungen abfängt.</p>
<p>Damit möchte ich einen Punkt in einem Dreidimensionalen Punkt bewegen.</p>
<p>Ich habe also X, Y und Z</p>
<p>Bewege ich die Maus nach rechts oder link wird die X Variable entweder incrementiert (++) oder decrementiert(--).</p>
<p>Bewege ich die Maus nach oben oder unten wird die Y Variable entweder incrementiert (++) oder decrementiert(--).</p>
<p>Das Scrollrad soll die Z Achse dar stellen. Hier wird die Variable Z incrementiert (++) oder decrementiert(--).</p>
<p>Hat jemand eine Idee wie das machbar ist?</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729667</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 17:12:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 17:19:35 GMT]]></title><description><![CDATA[<p>schonma was von WM_MOUSEMOVE, WM_MOUSEWHEEL etc gehört</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729670</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729670</guid><dc:creator><![CDATA[lol0r]]></dc:creator><pubDate>Fri, 19 Jun 2009 17:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 17:44:33 GMT]]></title><description><![CDATA[<p>Ich probiers gerade damit es hapert aber bei der Anwendung <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729683</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729683</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 17:44:33 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 18:38:49 GMT]]></title><description><![CDATA[<p>Was hapert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729712</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729712</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 19 Jun 2009 18:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 18:43:56 GMT]]></title><description><![CDATA[<p>Er soll mir laufend die Mauskoordinaten ausgeben. Irgendwo habe ich aber noch nen Fehler drin. Auf wParam wird ja gar nicht weiter eingegangen...</p>
<p>(==&gt; Hatte noch nicht soviel mit WinAPI zu tun)</p>
<pre><code class="language-cpp">short zDelta;
	WPARAM wParam = WM_MOUSEMOVE;
    LPARAM lParam;

	zDelta  = (short)HIWORD(lParam);

	while(true)
	{
	           if( (short)HIWORD(lParam)!= zDelta) {
                   std::cout &lt;&lt; zDelta &lt;&lt; &quot;\n&quot;;
                   	zDelta  = (short)HIWORD(lParam);
               }
               //SetCursorPos(320,240); //Funktioniert
               Sleep(400);
    }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1729715</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729715</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 18:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 19:42:42 GMT]]></title><description><![CDATA[<p><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="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729755</guid><dc:creator><![CDATA[lol0r]]></dc:creator><pubDate>Fri, 19 Jun 2009 19:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 19:47:12 GMT]]></title><description><![CDATA[<p>lol0r schrieb:</p>
<blockquote>
<p><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="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
</blockquote>
<p>Diese Antwort ist nicht sehr hilfreich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729757</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729757</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 19:47:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 19:54:41 GMT]]></title><description><![CDATA[<p>Du erwartest also, dass sich dir Variablen innerhalb deiner Schleife durch Zauberhand verändern?</p>
<p>Du solltest auf die Nachrichten <em>reagieren</em>, also sobald eine kommt verarbeitest du sie und trittst wieder in die Nachrichtenschleife ein. Wenn du nicht mal weißt, wie man auf Nachrichten reagiert, solltest du doch erstmal ein WinAPI-Tutorial durcharbeiten (oder wenigstens die ersten zwei Kapitel) <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729764</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Fri, 19 Jun 2009 19:54:41 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 19:55:57 GMT]]></title><description><![CDATA[<p>lol0r schrieb:</p>
<blockquote>
<p><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="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
</blockquote>
<p>Da kommt man wirklich in Versuchung sich einfach nur anzuschließen.</p>
<p>@WAR][FIRE: Wie wäre es wenn Du wenigstens mit den Grundlagen der WinAPI Programmierung beginnst . Dieser Code-Schnippsel zeigt nur, dass Du so wenig Ahnung hast, dass es sich nicht mal lohnt über diesen Code zu diskutieren.<br />
Sorry. Just my 2 cents.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729768</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729768</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 19 Jun 2009 19:55:57 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 19:59:02 GMT]]></title><description><![CDATA[<p>WM_MOUSEMOVE abzufangen ist schon mal ok, dann behandeltst du noch die Nachricht WM_MOUSEWHEEL.</p>
<p>Also ein &quot;Sleep(..)&quot; in den Eventhandler einzubauen ist gar keine gute Idee, wenn du die Maus bewegst wird deine ganze Nachrichtenschleife für 400 Millisekunden angehalten, das ist so ganz ungünstig programmiert. Meiner Meinung nach spricht nichts dagegen die Koorinaten permanent bei jedem WM_MOUSEMOVE + WM_MOUSEWHEEL Event auszugeben.</p>
<p>Achso deine <strong>while(true)</strong> Schleife wird nie verlassen, also auch total unnützt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729773</guid><dc:creator><![CDATA[.......]]></dc:creator><pubDate>Fri, 19 Jun 2009 19:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 20:06:33 GMT]]></title><description><![CDATA[<p>Aber wie kann man dann den laufend die Mausbewegungen abfangen?</p>
<p>ich möchte fürs erste doch nur mitbekommen ob die Maus nach oben/rechts oder links bewegt wird <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/1729783</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729783</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 20:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Fri, 19 Jun 2009 22:01:32 GMT]]></title><description><![CDATA[<p>Ich denke so ungefähr sollte das für das Scrollrad dann aussehen. Könnte mir jemand sagen wie ich das benutze?</p>
<p>Ich bin etwas im Zeitstress damit daher frag ich so banal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<pre><code class="language-cpp">void __fastcall TAppEvent::OnMessage(MSG&amp; Msg, bool&amp; Handled)
{
  if (Msg.message == WM_MOUSEWHEEL)
  {
     Msg.message = WM_KEYDOWN;
     Msg.lParam = 0;
     i = HIWORD(Msg.wParam);

     if (i &gt; 0)
     {
        // Bewegung nach oben
     }
     else
     {
        // Bewegung nach unten
     }

     Handled = false;
  }
}
</code></pre>
<p>Für die Mausbewegungen X,Y habe ich es jetzt so realisiert:</p>
<pre><code class="language-cpp">while(true)
	{
           GetCursorPos ( &amp;ptCursor );
           if( (ptCursor.x !=  ptCursor_temp.x) ||  (ptCursor.y !=  ptCursor_temp.y)) 
           {
               if(ptCursor.x &gt; ptCursor_temp.x) m_Xachse+= (ptCursor.x-ptCursor_temp.x);
               if(ptCursor.x &lt; ptCursor_temp.x) m_Xachse-= (ptCursor_temp.x-ptCursor.x);

               if(ptCursor.y &lt; ptCursor_temp.y) m_Yachse+= (ptCursor_temp.y-ptCursor.y);
               if(ptCursor.y &gt; ptCursor_temp.y) m_Yachse-= (ptCursor.y-ptCursor_temp.y);;
               system(&quot;CLS&quot;);
               std::cout &lt;&lt; &quot;X Achse: &quot; &lt;&lt; m_Xachse &lt;&lt; &quot;         Y Achse: &quot; &lt;&lt; m_Yachse &lt;&lt; &quot;&quot;;

               SetCursorPos( 400, 400 ); //Funktioniert
               GetCursorPos ( &amp;ptCursor_temp );   
           }  
           //Sleep(100);
    }
</code></pre>
<p>Auch nicht die feine englische ...</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1729829</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1729829</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Fri, 19 Jun 2009 22:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 16:23:56 GMT]]></title><description><![CDATA[<p>So nun mal was schon eher passendes:</p>
<p>Ansatz:</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;
#include &lt;iostream&gt;

HWND GetConsoleHwnd(void);
using namespace std;

int main(int argc, char *argv[])
{
    MSG messages; 
    HWND hwnd =  GetConsoleHwnd(); 

    while (GetMessage (&amp;messages, NULL, 0, 0))
    {
        /* Translate virtual-key messages into character messages */
        TranslateMessage(&amp;messages);
        /* Send message to WindowProcedure */
        DispatchMessage(&amp;messages);
    }

    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}

LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch (message)                  /* handle the messages */
    {
        case WM_DESTROY:
            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */
            break;

        case WM_LBUTTONDOWN:
             std::cout &lt;&lt; &quot;Linksklick&quot;;
            break;

        case WM_MOUSEWHEEL:
             //MessageBox(hwnd,&quot;Aktuelle Zeichenfarbe ist Weiss&quot;,&quot;lol&quot;,MB_OK);
             std::cout &lt;&lt; &quot;Scrollrad&quot;;
             return 0;
             break;
        default:                      /* for messages that we don't deal with */
            return DefWindowProc (hwnd, message, wParam, lParam);
    }

    return 0;
}

   HWND GetConsoleHwnd(void)
   {
       #define MY_BUFSIZE 1024 // Buffer size for console window titles.
       HWND hwndFound;         // This is what is returned to the caller.
       char pszNewWindowTitle[MY_BUFSIZE]; // Contains fabricated
                                           // WindowTitle.
       char pszOldWindowTitle[MY_BUFSIZE]; // Contains original
                                           // WindowTitle.

       // Fetch current window title.

       GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE);

       // Format a &quot;unique&quot; NewWindowTitle.

       wsprintf(pszNewWindowTitle,&quot;%d/%d&quot;,
                   GetTickCount(),
                   GetCurrentProcessId());

       // Change current window title.

       SetConsoleTitle(pszNewWindowTitle);

       // Ensure window title has been updated.

       Sleep(40);

       // Look for NewWindowTitle.

       hwndFound=FindWindow(NULL, pszNewWindowTitle);

       // Restore original window title.

       SetConsoleTitle(pszOldWindowTitle);

       return(hwndFound);
   }
</code></pre>
<p>Leider werden die Messages nicht abgefangen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>Es wird nur eine Message empfangen wenn ich die Fenster wechsel und dann wieder die Console in den Vordergrund hole.</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730591</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730591</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Sun, 21 Jun 2009 16:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 16:49:52 GMT]]></title><description><![CDATA[<p>Ich hab mal schnell einen Code zusammengezimmert schau dir den mal an:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;stdlib.h&gt;
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                   PSTR szCmdLine, int iCmdShow)
{
	MSG          msg;
	HWND         hWnd;
	WNDCLASS     wc;

	const wchar_t szAppName[] = L&quot;Maus&quot;;
	wc.cbClsExtra         = 0;
	wc.cbWndExtra         = 0;
	wc.hbrBackground      = (HBRUSH) GetStockObject(WHITE_BRUSH);
	wc.hCursor            = LoadCursor(NULL, IDC_ARROW);
	wc.hIcon              = NULL;
	wc.hInstance          = hInstance;
	wc.lpfnWndProc        = WndProc;
	wc.lpszClassName      = szAppName;
	wc.lpszMenuName       = 0;
	wc.style              = CS_HREDRAW | CS_VREDRAW;

	RegisterClass(&amp;wc);//&lt;-- Fensterklasse registrieren

	hWnd = CreateWindow( //&lt;-- Fenster erstellen
						szAppName,
						szAppName,
						WS_VISIBLE|WS_SYSMENU | WS_BORDER | WS_MINIMIZEBOX |WS_CLIPCHILDREN,
						CW_USEDEFAULT,
						CW_USEDEFAULT,
						500,
						500,
						NULL,
						NULL,
						hInstance,
						NULL);

	while (GetMessage(&amp;msg, NULL, 0, 0))
	{
		TranslateMessage(&amp;msg);
		DispatchMessage(&amp;msg);
	}
	return msg.wParam;
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	int xPos;
	int yPos;
	int zDelta;
	wchar_t test;
	switch(message)
	{
	case WM_MOUSEMOVE://&lt;-- Maus wurde in der Client, Area bewegt
		{
			xPos = LOWORD(lParam); //&lt;--xPosition der Maus relativ zur linken oberen Ecke der Client Area
			yPos = HIWORD(lParam); //&lt;--yPosition der Maus relativ zur linken oberen Ecke der Client Area
			return 0;
		}
	case WM_MOUSEWHEEL:
		{
			zDelta = GET_WHEEL_DELTA_WPARAM(wParam);//&lt;-- Wenn positiv wurde das Rad nach vorne gedreht, wenn negativ wurde es nach hinten gedreht.(120-er Schritte)
			MessageBox(hWnd,_itow(zDelta,&amp;test,10),NULL,MB_YESNO);
		}
	}
	return DefWindowProc(hWnd, message, wParam, lParam);

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1730609</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730609</guid><dc:creator><![CDATA[Fatal Error appears]]></dc:creator><pubDate>Sun, 21 Jun 2009 16:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 17:08:04 GMT]]></title><description><![CDATA[<p>Ja genau sowas brauch ich!!</p>
<p>Jetzt brauch ich das noch für eine Console und dann passts.</p>
<p>Ich wollte diese &quot;Funktion&quot; dann als Klasse in eine bestehende Consolenanwendung implementieren &lt;:</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730624</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730624</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Sun, 21 Jun 2009 17:08:04 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 17:10:37 GMT]]></title><description><![CDATA[<p>WAR][FIRE schrieb:</p>
<blockquote>
<p>Ja genau sowas brauch ich!!</p>
<p>Jetzt brauch ich das noch für eine Console und dann passts.</p>
</blockquote>
<p>Dann versuch dich mal:) Konsole ist nicht so meins.. da kann ich dir nicht helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730627</guid><dc:creator><![CDATA[Fatal Error appears]]></dc:creator><pubDate>Sun, 21 Jun 2009 17:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 17:23:08 GMT]]></title><description><![CDATA[<p>Ja deins ist ja schon fast des rätsels lösung. <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>
<p>Nur noch auf die Konsole überschreiben. Am besten wäre es wenn die Mausaktionen Fensterunabhängig sind, also über den ganzen Bildschirm die Mausaktionen abgefangen werden.</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730632</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730632</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Sun, 21 Jun 2009 17:23:08 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Sun, 21 Jun 2009 20:47:19 GMT]]></title><description><![CDATA[<p>Hmm eine Lösung nur für die Console finde ich leider nicht, bzw. ein globales Abfangen der Maus Events.</p>
<p>Weiß jemand wie ich in der Konsole ein seperates Windows Fenster erstellen kann?<br />
(Wie geht das denn bei Win32 Anwendungen? Das müsste sich dann ja analog auf eine Konsolenanwendung übertragen lassen!)</p>
<p>Dieses Fenster hätte dann einen seperaten Message Handler indem ich die Mausbewegungen abfangen könnte.</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730734</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730734</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Sun, 21 Jun 2009 20:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Mon, 22 Jun 2009 01:46:12 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/ms648390.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms648390.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730776</guid><dc:creator><![CDATA[FASTCALL PASCAL WINAPI]]></dc:creator><pubDate>Mon, 22 Jun 2009 01:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Mon, 22 Jun 2009 11:23:54 GMT]]></title><description><![CDATA[<p>FASTCALL PASCAL WINAPI schrieb:</p>
<blockquote>
<p><a href="http://msdn.microsoft.com/en-us/library/ms648390.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms648390.aspx</a></p>
</blockquote>
<p>Ja diesen Befehl brauch ich sobald ich ein Fenster erstellt habe.</p>
<p>Mein Problem ist für die Erstellung eines Fenster in einer Konsolenanwendung ist, das ich keine HINSTANCE übergeben bekommen, wie es bei einer WinMain(..) funktion der fall ist.</p>
<p>Wie bekomme ich also eine HINSTANCE ohne es übergeben zu bekommen?</p>
<p>Gruß<br />
WAR][FIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730934</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730934</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Mon, 22 Jun 2009 11:23:54 GMT</pubDate></item><item><title><![CDATA[Reply to Mausincrementer on Tue, 23 Jun 2009 10:56:41 GMT]]></title><description><![CDATA[<p>Alle Mann festhalten... 3 2 1 *push* <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/1731518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1731518</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Tue, 23 Jun 2009 10:56:41 GMT</pubDate></item></channel></rss>