<?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[Programm für ein Spiel-)Wie wird nun der Button gedrückt]]></title><description><![CDATA[<p>Hallo<br />
Ich schreibe ein Programm für ein Spiel welches sich automatisch einloggen soll.<br />
Mitlerweile bin ich soweit gekommen:</p>
<p>#include &lt;windows.h&gt;<br />
#include&lt;iostream&gt;<br />
#include&lt;winuser.h&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
BOOL rc;</p>
<p>ShellExecute(NULL,&quot;open&quot;,&quot;C:\\Programme\\Diablo Dragonelf\\Diablo II.exe &quot;,NULL,NULL,SW_NORMAL);<br />
Sleep(60000);<br />
rc = SetCursorPos(450,355);<br />
}</p>
<p>Damit wird das Spiel geöffnet und die Maus auf den Button gelenkt<br />
Aber wie lass ich das Programm nun darauf klicken<br />
Ich müsste die Entertaste oder einen Klick mit der linken Maustaste simulieren<br />
Wie mach ich das?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/150545/programm-für-ein-spiel-wie-wird-nun-der-button-gedrückt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 10:50:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/150545.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Jun 2006 18:12:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 18:12:13 GMT]]></title><description><![CDATA[<p>Hallo<br />
Ich schreibe ein Programm für ein Spiel welches sich automatisch einloggen soll.<br />
Mitlerweile bin ich soweit gekommen:</p>
<p>#include &lt;windows.h&gt;<br />
#include&lt;iostream&gt;<br />
#include&lt;winuser.h&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
BOOL rc;</p>
<p>ShellExecute(NULL,&quot;open&quot;,&quot;C:\\Programme\\Diablo Dragonelf\\Diablo II.exe &quot;,NULL,NULL,SW_NORMAL);<br />
Sleep(60000);<br />
rc = SetCursorPos(450,355);<br />
}</p>
<p>Damit wird das Spiel geöffnet und die Maus auf den Button gelenkt<br />
Aber wie lass ich das Programm nun darauf klicken<br />
Ich müsste die Entertaste oder einen Klick mit der linken Maustaste simulieren<br />
Wie mach ich das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1079638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079638</guid><dc:creator><![CDATA[dragonelf22]]></dc:creator><pubDate>Sat, 17 Jun 2006 18:12:13 GMT</pubDate></item><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 19:52:39 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=18363" rel="nofollow">Jochen Kalmbach</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=58" rel="nofollow">C++/CLI mit .NET</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" 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/1079676</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079676</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 17 Jun 2006 19:52:39 GMT</pubDate></item><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 19:54:14 GMT]]></title><description><![CDATA[<p>Ist das nen normales Win32 Dialog oder ist das schon DirectX bzw OpenGl Dlg ?! Das 1. ist am einfachsten <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/1079677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079677</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sat, 17 Jun 2006 19:54:14 GMT</pubDate></item><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 19:57:10 GMT]]></title><description><![CDATA[<p>win32</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1079679</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079679</guid><dc:creator><![CDATA[dragonelf222]]></dc:creator><pubDate>Sat, 17 Jun 2006 19:57:10 GMT</pubDate></item><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 20:57:02 GMT]]></title><description><![CDATA[<p>Och nö..nicht noch ein drophack oder spambot fürs bnet...muss das denn sein?<br />
<em>wofür brauchst du das denn genau</em>??? du kannst auch nen login aufgrund des bnetprotokoll<br />
vornehmen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1079702</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079702</guid><dc:creator><![CDATA[Fubarr]]></dc:creator><pubDate>Sat, 17 Jun 2006 20:57:02 GMT</pubDate></item><item><title><![CDATA[Reply to Programm für ein Spiel-)Wie wird nun der Button gedrückt on Sat, 17 Jun 2006 21:19:53 GMT]]></title><description><![CDATA[<p>Hallo, <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>
<p>so kannst du es machen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f4a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--light_bulb"
      title=":bulb:"
      alt="💡"
    /> :</p>
<pre><code class="language-cpp">POINT ptBtn;
GetCursorPos(&amp;ptBtn);
SendMessage(WindowFromPoint(ptBtn), BM_CLICK, 0, 0L);
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> <strong>PS:</strong></p>
<p>Fubarr schrieb:</p>
<blockquote>
<p>Och nö..nicht noch ein drophack oder spambot fürs bnet...muss das denn sein?</p>
</blockquote>
<p>Ich weiß zwar nicht was das ist...(und will es auch nicht) aber ich hoffe das hast du damit <strong>NICHT</strong> vor! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1079720</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1079720</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Sat, 17 Jun 2006 21:19:53 GMT</pubDate></item></channel></rss>