<?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[Pixel in Vollbild setzten]]></title><description><![CDATA[<p>Hallo,<br />
ich habe in C ein Array und möchte dieses Array in Vollbild Zeichen lassen. Also überall wo in dem Array ein zeichen steht möchte ich einen PIXEL gesetzt haben. Ist dies möglich??</p>
<p>Dies hier funktioniert nur im Fenster:</p>
<pre><code class="language-cpp">HWND hWnd = FindWindow( &quot;ConsoleWindowClass&quot;, NULL );
HDC hDC = GetDC(hWnd);
for(int y = 0; y &lt; 185; y++)
	for(int x = 0; x &lt;201;x++)
	{
		if (spielfeld[x][y] != ' ')
		{
				SetPixel(hDC, x +10, y +10, RGB(255,255,255));
		}
	}
ReleaseDC(hWnd, hDC);
DeleteDC(hDC);
std::cin.get();
</code></pre>
<p>Wäre cool, wenn einer eine Lösung weiß.</p>
<p>Vielen Dank Fredth</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/108454/pixel-in-vollbild-setzten</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 04:33:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/108454.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Apr 2005 13:54:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pixel in Vollbild setzten on Fri, 29 Apr 2005 13:54:18 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe in C ein Array und möchte dieses Array in Vollbild Zeichen lassen. Also überall wo in dem Array ein zeichen steht möchte ich einen PIXEL gesetzt haben. Ist dies möglich??</p>
<p>Dies hier funktioniert nur im Fenster:</p>
<pre><code class="language-cpp">HWND hWnd = FindWindow( &quot;ConsoleWindowClass&quot;, NULL );
HDC hDC = GetDC(hWnd);
for(int y = 0; y &lt; 185; y++)
	for(int x = 0; x &lt;201;x++)
	{
		if (spielfeld[x][y] != ' ')
		{
				SetPixel(hDC, x +10, y +10, RGB(255,255,255));
		}
	}
ReleaseDC(hWnd, hDC);
DeleteDC(hDC);
std::cin.get();
</code></pre>
<p>Wäre cool, wenn einer eine Lösung weiß.</p>
<p>Vielen Dank Fredth</p>
]]></description><link>https://www.c-plusplus.net/forum/post/778487</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/778487</guid><dc:creator><![CDATA[Fredth]]></dc:creator><pubDate>Fri, 29 Apr 2005 13:54:18 GMT</pubDate></item><item><title><![CDATA[Reply to Pixel in Vollbild setzten on Fri, 29 Apr 2005 15:36:13 GMT]]></title><description><![CDATA[<p>nee ist nicht möglich!</p>
<p>mfg hohesC</p>
]]></description><link>https://www.c-plusplus.net/forum/post/778556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/778556</guid><dc:creator><![CDATA[hohesC]]></dc:creator><pubDate>Fri, 29 Apr 2005 15:36:13 GMT</pubDate></item><item><title><![CDATA[Reply to Pixel in Vollbild setzten on Fri, 29 Apr 2005 16:48:31 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=547" rel="nofollow">Shade Of Mine</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=10" rel="nofollow">ANSI C</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/778615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/778615</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Fri, 29 Apr 2005 16:48:31 GMT</pubDate></item></channel></rss>