<?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[Fenster Anfang&#x2F;Größe]]></title><description><![CDATA[<p>Hi, wie kann ich die Größe eines Fensters bekommen?<br />
Und die Position, aber der das Fenster anfängt?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191130/fenster-anfang-größe</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 17:44:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191130.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Aug 2007 14:16:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster Anfang&#x2F;Größe on Thu, 30 Aug 2007 14:16:04 GMT]]></title><description><![CDATA[<p>Hi, wie kann ich die Größe eines Fensters bekommen?<br />
Und die Position, aber der das Fenster anfängt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355395</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355395</guid><dc:creator><![CDATA[getsize]]></dc:creator><pubDate>Thu, 30 Aug 2007 14:16:04 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Anfang&#x2F;Größe on Thu, 30 Aug 2007 14:21:25 GMT]]></title><description><![CDATA[<p>Mit <a href="http://msdn2.microsoft.com/en-us/library/ms633519.aspx" rel="nofollow">GetWindowRect</a>...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355399</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355399</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Thu, 30 Aug 2007 14:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Anfang&#x2F;Größe on Thu, 30 Aug 2007 14:52:29 GMT]]></title><description><![CDATA[<p>BORLAND-Hilfe schrieb:</p>
<blockquote>
<p>The WM_MOVING message is sent to a window that the user is moving. By processing this message, an application can monitor the size and position of the drag rectangle and, if needed, change its size or position.</p>
<p>fwSide = wParam; // edge of window to be moved<br />
lprc = (LPRECT) lParam; // screen coordinates of drag rectangle</p>
<p>Parameters</p>
<p>fwSide</p>
<p>Value of wParam. Indicates which edge of the window is being moved. This parameter can be a combination of the following values:</p>
<p>Value Meaning<br />
WMSZ_BOTTOM Bottom edge<br />
WMSZ_BOTTOMLEFT Bottom-left corner<br />
WMSZ_BOTTOMRIGHT Bottom-right corner<br />
WMSZ_LEFT Left edge<br />
WMSZ_RIGHT Right edge<br />
WMSZ_TOP Top edge<br />
WMSZ_TOPLEFT Top-left corner<br />
WMSZ_TOPRIGHT Top-right corner</p>
</blockquote>
<p>oder</p>
<blockquote>
<p>The WM_SIZE message is sent to a window after its size has changed.</p>
<p>WM_SIZE<br />
fwSizeType = wParam; // resizing flag<br />
nWidth = LOWORD(lParam); // width of client area<br />
nHeight = HIWORD(lParam); // height of client area</p>
<p>Parameters</p>
<p>fwSizeType</p>
<p>Value of wParam. Specifies the type of resizing requested. This parameter can be one of the following values:</p>
<p>Value Meaning<br />
SIZE_MAXHIDE Message is sent to all pop-up windows when some other window is maximized.<br />
SIZE_MAXIMIZED Window has been maximized.<br />
SIZE_MAXSHOW Message is sent to all pop-up windows when some other window has been restored to its former size.<br />
SIZE_MINIMIZED Window has been minimized.<br />
SIZE_RESTORED Window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies.</p>
</blockquote>
<p>oder</p>
<blockquote>
<p>The WM_MOVE message is sent after a window has been moved.</p>
<p>WM_MOVE<br />
xPos = (int) LOWORD(lParam); // horizontal position<br />
yPos = (int) HIWORD(lParam); // vertical position</p>
<p>Parameters</p>
<p>xPos</p>
<p>Value of the low-order word of lParam. Specifies the x-coordinate of the upper-left corner of the client area of the window.</p>
<p>yPos</p>
<p>Value of the high-order word of lParam. Specifies the y-coordinate of the upper-left corner of the client area of the window.</p>
<p>Return Values</p>
<p>If an application processes this message, it should return zero.</p>
<p>Remarks</p>
<p>The xPos and yPos parameters are given in screen coordinates for overlapped and pop-up windows and in parent-client coordinates for child windows.<br />
An application can use the MAKEPOINTS macro to convert the lParam parameter to a POINTS structure.</p>
</blockquote>
<p>WM_SIZE und WM_MOVE werde auch immer automatisch am Anfang gesendet, wenn das Fenster erstmalig erstellt wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355409</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355409</guid><dc:creator><![CDATA[Elektronix]]></dc:creator><pubDate>Thu, 30 Aug 2007 14:52:29 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Anfang&#x2F;Größe on Thu, 30 Aug 2007 17:27:11 GMT]]></title><description><![CDATA[<p>Also GetWindowRect bzw. GetClientRect ist da eigentlich für vorgesehen. Wenn Du resizen willst, musst Du, wie Elektronix geschrieben hat, einen WM_SIZE-Handler schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355541</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Thu, 30 Aug 2007 17:27:11 GMT</pubDate></item></channel></rss>