<?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[Screenshot erstellen]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche eine Funktion, welche mir einen Screenshot erstellt.<br />
Dieses will ich dann auf dem Computer speichern.</p>
<p>Bisher habe ich es so gelöst.<br />
Sollte aber besser gehen.</p>
<pre><code class="language-cpp">keybd_event(VK_MENU, 0, 0, 0);
        keybd_event(VK_SNAPSHOT, 0, 0, 0);
        keybd_event(VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0);
        keybd_event(VK_MENU, 0, KEYEVENTF_KEYUP, 0);

        Image1-&gt;Picture-&gt;Bitmap-&gt;LoadFromClipboardFormat(CF_BITMAP, Clipboard()-&gt;GetAsHandle(CF_BITMAP), 0);
        Image1-&gt;Picture-&gt;Bitmap-&gt;SaveToFile(&quot;Bild&quot;+AnsiString(Image1-&gt;Tag)+&quot;.bmp&quot;);
        Image1-&gt;Tag++;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/210145/screenshot-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 01:18:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/210145.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Apr 2008 18:00:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Screenshot erstellen on Mon, 07 Apr 2008 18:00:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche eine Funktion, welche mir einen Screenshot erstellt.<br />
Dieses will ich dann auf dem Computer speichern.</p>
<p>Bisher habe ich es so gelöst.<br />
Sollte aber besser gehen.</p>
<pre><code class="language-cpp">keybd_event(VK_MENU, 0, 0, 0);
        keybd_event(VK_SNAPSHOT, 0, 0, 0);
        keybd_event(VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0);
        keybd_event(VK_MENU, 0, KEYEVENTF_KEYUP, 0);

        Image1-&gt;Picture-&gt;Bitmap-&gt;LoadFromClipboardFormat(CF_BITMAP, Clipboard()-&gt;GetAsHandle(CF_BITMAP), 0);
        Image1-&gt;Picture-&gt;Bitmap-&gt;SaveToFile(&quot;Bild&quot;+AnsiString(Image1-&gt;Tag)+&quot;.bmp&quot;);
        Image1-&gt;Tag++;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1488124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488124</guid><dc:creator><![CDATA[screenshot]]></dc:creator><pubDate>Mon, 07 Apr 2008 18:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to Screenshot erstellen on Mon, 07 Apr 2008 18:06:00 GMT]]></title><description><![CDATA[<p>suchfunktion du depp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488130</guid><dc:creator><![CDATA[rofler]]></dc:creator><pubDate>Mon, 07 Apr 2008 18:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Screenshot erstellen on Tue, 08 Apr 2008 06:24:54 GMT]]></title><description><![CDATA[<p>Ein Beispiel:</p>
<p><a href="http://c-plusplus.net/forum/viewtopic-var-t-is-138375-and-highlight-is-screenshot+desktop.html" rel="nofollow">http://c-plusplus.net/forum/viewtopic-var-t-is-138375-and-highlight-is-screenshot+desktop.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488306</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488306</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 08 Apr 2008 06:24:54 GMT</pubDate></item><item><title><![CDATA[Reply to Screenshot erstellen on Tue, 08 Apr 2008 06:55:56 GMT]]></title><description><![CDATA[<p>Ein Beispiel:</p>
<p><a href="http://c-plusplus.net/forum/viewtopic-var-t-is-138375-and-highlight-is-screenshot+desktop.html" rel="nofollow">http://c-plusplus.net/forum/viewtopic-var-t-is-138375-and-highlight-is-screenshot+desktop.html</a></p>
<p>EDIT: Sorry für den Doppelpost, war keine Absicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488318</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488318</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 08 Apr 2008 06:55:56 GMT</pubDate></item></channel></rss>