<?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[zeichnen in andere form]]></title><description><![CDATA[<pre><code>HWND desktop_handle;
                desktop_handle=FindWindow(NULL,&quot;Registrierungs-Editor&quot;);

                PAINTSTRUCT ps;
                HDC form=BeginPaint(desktop_handle,&amp;ps);

                HPEN pen=CreatePen(10,10,RGB(255,255,255)), penold;

                HBRUSH brush = CreateSolidBrush(RGB(255, 0, 0)), brushold;

                penold = SelectObject(form, pen);
                brushold = SelectObject(form, brush);
                Rectangle(form, 10,10, 200,200);

                SelectObject(form, penold);
                DeleteObject(pen);
                SelectObject(form, brushold);
                DeleteObject(brush);
</code></pre>
<p>das läuft nicht wieso?<br />
hat einer ne idee?<br />
also wenn ich das in die main schreibe, startet alles und so aber es erscheint kein grafisches object auf dem regeditorfenster.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/204465/zeichnen-in-andere-form</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 19:21:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/204465.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Feb 2008 17:15:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to zeichnen in andere form on Sun, 03 Feb 2008 17:15:23 GMT]]></title><description><![CDATA[<pre><code>HWND desktop_handle;
                desktop_handle=FindWindow(NULL,&quot;Registrierungs-Editor&quot;);

                PAINTSTRUCT ps;
                HDC form=BeginPaint(desktop_handle,&amp;ps);

                HPEN pen=CreatePen(10,10,RGB(255,255,255)), penold;

                HBRUSH brush = CreateSolidBrush(RGB(255, 0, 0)), brushold;

                penold = SelectObject(form, pen);
                brushold = SelectObject(form, brush);
                Rectangle(form, 10,10, 200,200);

                SelectObject(form, penold);
                DeleteObject(pen);
                SelectObject(form, brushold);
                DeleteObject(brush);
</code></pre>
<p>das läuft nicht wieso?<br />
hat einer ne idee?<br />
also wenn ich das in die main schreibe, startet alles und so aber es erscheint kein grafisches object auf dem regeditorfenster.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1448611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1448611</guid><dc:creator><![CDATA[owned778]]></dc:creator><pubDate>Sun, 03 Feb 2008 17:15:23 GMT</pubDate></item><item><title><![CDATA[Reply to zeichnen in andere form on Sun, 03 Feb 2008 18:15:49 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-14774.html" rel="nofollow">akari</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL (C++ Builder)</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/1448648</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1448648</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 03 Feb 2008 18:15:49 GMT</pubDate></item></channel></rss>