<?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[Buttons positionieren]]></title><description><![CDATA[<p>Hallo,</p>
<p>in einem Dialog möchte ich 4 Buttons positionieren.</p>
<p>Bei SetWindowsPos habe ich mit dem 1. Parameter Probleme</p>
<pre><code class="language-cpp">GetDlgItem(IDC_BUTTON1)-&gt;SetWindowPos(&amp;CWnd::wndTop,2,50,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON2)-&gt;SetWindowPos(&amp;CWnd::wndBottom,2,70,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON3)-&gt;SetWindowPos(NULL,2,90,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON4)-&gt;SetWindowPos(this,2,110,50,10,SWP_SHOWWINDOW);
</code></pre>
<p>Ich habe hier mal probeweise die 4 Möglichkeiten aufgeschrieben. So geht es auch nicht.</p>
<p>Wie setze ich den 1. Parameter richtig?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51245/buttons-positionieren</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 12:24:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51245.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Oct 2003 12:36:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Buttons positionieren on Wed, 08 Oct 2003 12:36:20 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>in einem Dialog möchte ich 4 Buttons positionieren.</p>
<p>Bei SetWindowsPos habe ich mit dem 1. Parameter Probleme</p>
<pre><code class="language-cpp">GetDlgItem(IDC_BUTTON1)-&gt;SetWindowPos(&amp;CWnd::wndTop,2,50,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON2)-&gt;SetWindowPos(&amp;CWnd::wndBottom,2,70,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON3)-&gt;SetWindowPos(NULL,2,90,50,10,SWP_SHOWWINDOW);
GetDlgItem(IDC_BUTTON4)-&gt;SetWindowPos(this,2,110,50,10,SWP_SHOWWINDOW);
</code></pre>
<p>Ich habe hier mal probeweise die 4 Möglichkeiten aufgeschrieben. So geht es auch nicht.</p>
<p>Wie setze ich den 1. Parameter richtig?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368307</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368307</guid><dc:creator><![CDATA[Tino_]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to Buttons positionieren on Wed, 08 Oct 2003 13:02:50 GMT]]></title><description><![CDATA[<p>Oh, es hat sich schon erledigt. So geht es ganz einfach</p>
<pre><code class="language-cpp">GetDlgItem(IDC_BUTTON1)-&gt;SetWindowPos(NULL,2,50,50,10,SWP_NOZORDER);
GetDlgItem(IDC_BUTTON2)-&gt;SetWindowPos(NULL,2,70,50,10,SWP_NOZORDER);
GetDlgItem(IDC_BUTTON3)-&gt;SetWindowPos(NULL,2,90,50,10,SWP_NOZORDER);
GetDlgItem(IDC_BUTTON4)-&gt;SetWindowPos(NULL,2,110,50,10,SWP_NOZORDER);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/368325</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368325</guid><dc:creator><![CDATA[Tino_]]></dc:creator><pubDate>Wed, 08 Oct 2003 13:02:50 GMT</pubDate></item><item><title><![CDATA[Reply to Buttons positionieren on Wed, 08 Oct 2003 13:04:38 GMT]]></title><description><![CDATA[<p>Bei mir funktioniert Version 1 (hab die anderen nicht ausprobiert)<br />
Was für eine Fehlermeldung bekommst du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368326</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368326</guid><dc:creator><![CDATA[sarasne]]></dc:creator><pubDate>Wed, 08 Oct 2003 13:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to Buttons positionieren on Wed, 08 Oct 2003 13:07:45 GMT]]></title><description><![CDATA[<p>Die Buttons haben angefangen zu flackern, wenn zweimal der gleiche Parameter verwendet wurde.</p>
<p>Bei der this-Variante wurden die folgenden Parameter ignoriert.</p>
<p>Die 2. Version ignoriert dank SWP_NOZORDER den 1. Parameter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368328</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368328</guid><dc:creator><![CDATA[Tino_]]></dc:creator><pubDate>Wed, 08 Oct 2003 13:07:45 GMT</pubDate></item></channel></rss>