<?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[CSize]]></title><description><![CDATA[<p>Csize gibt mir doch die Abmasse des Fensters aus oder?</p>
<p>Welche Einheit ist das denn?</p>
<p>Ich bekomme da einen rießen Wert raus!</p>
<p>Gruß<br />
Frostie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/79954/csize</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 09:52:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/79954.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jul 2004 17:32:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CSize on Thu, 15 Jul 2004 17:32:44 GMT]]></title><description><![CDATA[<p>Csize gibt mir doch die Abmasse des Fensters aus oder?</p>
<p>Welche Einheit ist das denn?</p>
<p>Ich bekomme da einen rießen Wert raus!</p>
<p>Gruß<br />
Frostie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561617</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561617</guid><dc:creator><![CDATA[frostie]]></dc:creator><pubDate>Thu, 15 Jul 2004 17:32:44 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 06:39:35 GMT]]></title><description><![CDATA[<p>Kann mir jetzt keiner sagen was das ist?</p>
<p>Pixel, mm, cm, ...</p>
<p>Frostie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561839</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561839</guid><dc:creator><![CDATA[frostie]]></dc:creator><pubDate>Fri, 16 Jul 2004 06:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 06:51:30 GMT]]></title><description><![CDATA[<p>Warum schaust du nicht in die MSDN was CSize ist.</p>
<p>The CSize class is similar to the Windows SIZE structure, which implements a relative coordinate or position.</p>
<p>Note This class is derived from the SIZE structure. This means you can pass a CSize in a parameter that calls for a SIZE and that the data members of the SIZE structure are accessible data members of CSize.<br />
The cx and cy members of SIZE (and CSize) are public. In addition, CSize implements member functions to manipulate the SIZE structure.</p>
<p>Note For more information on shared utility classes (like CSize), see Shared Classes.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561847</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Fri, 16 Jul 2004 06:51:30 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 06:55:18 GMT]]></title><description><![CDATA[<p>EDIT:<br />
[DeleteContent()] <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/561849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561849</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Fri, 16 Jul 2004 06:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 07:45:01 GMT]]></title><description><![CDATA[<p>Also sehe ich dass jetzt richtig,</p>
<p>CSize sagt mir nicht die Größe des Fensters, sonder ist nur allgemein für eine Größenangabe für eigene Zwecke.</p>
<p>Mit welchem Aufruf bekomme ich dann die Größe des aktuellen Fensters?</p>
<p>Ich kenn nur den Aufruf GetTextMetrics für die Textgröße, diesen kennt aber auch MFC nicht, sonder funzt nur in einer Standard WinMain.?!?!?!?!?</p>
<p>Ich kenn mich nicht mehr aus.</p>
<p>Frostie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561871</guid><dc:creator><![CDATA[frostie]]></dc:creator><pubDate>Fri, 16 Jul 2004 07:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 09:04:18 GMT]]></title><description><![CDATA[<p>Schau in der MSDN mal nach GetClientRect() oder GetWindowRect() müsstest dir das passende raussuchen.</p>
<p>mfg Emeperor_L0ser</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561943</guid><dc:creator><![CDATA[Emperor_L0ser]]></dc:creator><pubDate>Fri, 16 Jul 2004 09:04:18 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 09:09:37 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">CSize czSize;
CRect rcRect;
CString szText;

...-&gt;GetWindowRect(&amp;rcRect);                        // Fensterrechteck erhalten
czSize = CSize(rcRect.Width(), rcRect.Height());    // Breite/ Höhe berechnen

szText.Format(&quot;Fenster-Dimensionen: %ix%i&quot;, czSize.cx, czSize.cy);
AfxMessageBox(szText, MB_OK);                       // Breite/ Höhe ausgeben
</code></pre>
<p>Anm.: Ich weiß nicht, ob du anstelle von GETWINDOWRECT(...) die Funktion GETCLIENTRECT(...) vorziehst...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561947</guid><dc:creator><![CDATA[a]]></dc:creator><pubDate>Fri, 16 Jul 2004 09:09:37 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Fri, 16 Jul 2004 10:03:51 GMT]]></title><description><![CDATA[<p>Super,</p>
<p>danke für die leicht verständlichen Antworten.<br />
Jetzt kapier ich das auch.</p>
<p>Wo ist eigentlich eine Übersicht über diese Funktionen (GetWindowRect...)<br />
mit einfacher (wenn möglich deutscher) Erklärung?</p>
<p>Gruß<br />
Frostie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561995</guid><dc:creator><![CDATA[frostie]]></dc:creator><pubDate>Fri, 16 Jul 2004 10:03:51 GMT</pubDate></item><item><title><![CDATA[Reply to CSize on Mon, 19 Jul 2004 18:25:40 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>es gibt eine Art Kategorien-Einteilung, die nach einiger Zeit (man muß natürlich auch hier erst die richtige Kategorie finden oder kennen) hilfreich sein kann:</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/functions_by_category.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/functions_by_category.asp</a></p>
<p>da dich hier die Fenster-Abmaße interessiert haben, hättest du die Kategorie &quot;Window&quot; wählen müssen, zu dieser gehören die Funktionen GetWindowRect und GetClientRect.</p>
<p>In MFC sind allerdings viele Funktionen, die ein Fenster allgemein betreffen, in der Klasse CWnd gekapselt:</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cwnd_class_members.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cwnd_class_members.asp</a></p>
<p>deswegen findest du hier die entsprechende Kategorie &quot;Window Size and Position&quot;, mit den entsprechenden Funktionen dazu.</p>
<p>Es war ja noch eine Antwort von mir offen zu einer anderen Frage von dir, die habe ich jetzt an der entsprechenden Stelle angefügt, siehe:</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic.php?p=563965#563965" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?p=563965#563965</a></p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/563968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/563968</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Mon, 19 Jul 2004 18:25:40 GMT</pubDate></item></channel></rss>