<?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[Mausklicks auf bestimmte Position]]></title><description><![CDATA[<p>Ich bin noch ein blutiger Anfänger bei der Programmierung mit C++, deshalb hoffe und glaube ich, dass ihr mein kleines Problem schnell lösen könnt:<br />
Ich möchte die Maus an eine bestimmte Stelle bewegen und dann einen Linksklick durchführen.<br />
Was ist daran falsch?</p>
<pre><code>SetCursorPos(400, 300);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
</code></pre>
<p>Ich bekomme beim Compiler für jede Zeile die beiden Meldungen<br />
&quot;<em>expected constructor, destructor or type conversion before '(' token</em>&quot;<br />
und<br />
&quot;<em>expected <code>,'or</code>,' before '(' token</em>&quot;<br />
Ich muss also anscheinend etwas vor die Klammer schreiben, aber was? Ich hab schon versucht, einfach eine 1 davorzuschreiben, aber das geht auch nicht.</p>
<p>Danke schonmal im Voraus!<br />
Ich habe gehört, dass mouse_event veraltet ist. Was wäre denn eine Alternative für meinen Mausklick auf eine bestimmte Position?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/257754/mausklicks-auf-bestimmte-position</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 23:20:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/257754.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Jan 2010 22:53:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mausklicks auf bestimmte Position on Sat, 02 Jan 2010 22:53:18 GMT]]></title><description><![CDATA[<p>Ich bin noch ein blutiger Anfänger bei der Programmierung mit C++, deshalb hoffe und glaube ich, dass ihr mein kleines Problem schnell lösen könnt:<br />
Ich möchte die Maus an eine bestimmte Stelle bewegen und dann einen Linksklick durchführen.<br />
Was ist daran falsch?</p>
<pre><code>SetCursorPos(400, 300);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
</code></pre>
<p>Ich bekomme beim Compiler für jede Zeile die beiden Meldungen<br />
&quot;<em>expected constructor, destructor or type conversion before '(' token</em>&quot;<br />
und<br />
&quot;<em>expected <code>,'or</code>,' before '(' token</em>&quot;<br />
Ich muss also anscheinend etwas vor die Klammer schreiben, aber was? Ich hab schon versucht, einfach eine 1 davorzuschreiben, aber das geht auch nicht.</p>
<p>Danke schonmal im Voraus!<br />
Ich habe gehört, dass mouse_event veraltet ist. Was wäre denn eine Alternative für meinen Mausklick auf eine bestimmte Position?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1831178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1831178</guid><dc:creator><![CDATA[anfaengerundgast]]></dc:creator><pubDate>Sat, 02 Jan 2010 22:53:18 GMT</pubDate></item><item><title><![CDATA[Reply to Mausklicks auf bestimmte Position on Sat, 02 Jan 2010 23:14:22 GMT]]></title><description><![CDATA[<p>Hattu windows.h inkludiert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1831188</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1831188</guid><dc:creator><![CDATA[Kóyaánasqatsi]]></dc:creator><pubDate>Sat, 02 Jan 2010 23:14:22 GMT</pubDate></item></channel></rss>