<?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[Anpassung der Komponeten-Position an unterschiedliche Bildschirmauflößung]]></title><description><![CDATA[<p>Hallo,</p>
<pre><code class="language-cpp">//
ScreenWidth   = GetSystemMetrics( SM_CXSCREEN );
ScreenHeight  = GetSystemMetrics( SM_CYSCREEN );
//
Top = 0;
Left = 0;
Width  = Screen-&gt;Width;
Height = Screen-&gt;Height - 28;
//
</code></pre>
<p>mit diesem Code übergebe ich der Form die Position und Größe abhänig von der Bildschirmauflößung. Ich programmiere unter 1024 x 768 Bildpunkte.<br />
Wenn ich z.B. auf einem anderem PC eine 1280 x 1024 Bildschirmauflößung habe, paßt sich meine Form wunderbar an.<br />
Frage: giebt es für die Komponente Optionen, um ein automatischen Anpassung zu erreichen, oder muß ich per Code berechnen lassen.</p>
<p>Gruß Siegfried</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159036/anpassung-der-komponeten-position-an-unterschiedliche-bildschirmauflößung</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 21:13:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159036.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Sep 2006 13:30:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anpassung der Komponeten-Position an unterschiedliche Bildschirmauflößung on Mon, 11 Sep 2006 13:30:05 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<pre><code class="language-cpp">//
ScreenWidth   = GetSystemMetrics( SM_CXSCREEN );
ScreenHeight  = GetSystemMetrics( SM_CYSCREEN );
//
Top = 0;
Left = 0;
Width  = Screen-&gt;Width;
Height = Screen-&gt;Height - 28;
//
</code></pre>
<p>mit diesem Code übergebe ich der Form die Position und Größe abhänig von der Bildschirmauflößung. Ich programmiere unter 1024 x 768 Bildpunkte.<br />
Wenn ich z.B. auf einem anderem PC eine 1280 x 1024 Bildschirmauflößung habe, paßt sich meine Form wunderbar an.<br />
Frage: giebt es für die Komponente Optionen, um ein automatischen Anpassung zu erreichen, oder muß ich per Code berechnen lassen.</p>
<p>Gruß Siegfried</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1135171</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1135171</guid><dc:creator><![CDATA[Beppo]]></dc:creator><pubDate>Mon, 11 Sep 2006 13:30:05 GMT</pubDate></item><item><title><![CDATA[Reply to Anpassung der Komponeten-Position an unterschiedliche Bildschirmauflößung on Mon, 11 Sep 2006 13:40:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das läßt sich alles mittels den Eigenschaften <em>Align, Constraints</em> und <em>Anchor</em> sehr gut lösen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1135185</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1135185</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 11 Sep 2006 13:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to Anpassung der Komponeten-Position an unterschiedliche Bildschirmauflößung on Mon, 11 Sep 2006 16:04:09 GMT]]></title><description><![CDATA[<p>Hallo,<br />
danke für die schnelle Antwort<br />
Gruß Siegfried</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1135330</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1135330</guid><dc:creator><![CDATA[Beppo]]></dc:creator><pubDate>Mon, 11 Sep 2006 16:04:09 GMT</pubDate></item></channel></rss>