<?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[Punkt auf Clientarea in Punkt von Aussenrand des Fensters umwandeln?]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe einen Punkt in der Client-Area. Mit welcher Funktion kriege ich jetzt raus, wo der Punkt vom Anfang des Fensters (Aussenrand) aus liegt? Müsste also die obere und linke Randgröße zuaddiert werden...</p>
<p>Danke!<br />
alex_</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156499/punkt-auf-clientarea-in-punkt-von-aussenrand-des-fensters-umwandeln</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 09:35:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156499.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Aug 2006 09:33:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Punkt auf Clientarea in Punkt von Aussenrand des Fensters umwandeln? on Thu, 17 Aug 2006 09:33:07 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe einen Punkt in der Client-Area. Mit welcher Funktion kriege ich jetzt raus, wo der Punkt vom Anfang des Fensters (Aussenrand) aus liegt? Müsste also die obere und linke Randgröße zuaddiert werden...</p>
<p>Danke!<br />
alex_</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1119002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1119002</guid><dc:creator><![CDATA[alex_]]></dc:creator><pubDate>Thu, 17 Aug 2006 09:33:07 GMT</pubDate></item><item><title><![CDATA[Reply to Punkt auf Clientarea in Punkt von Aussenrand des Fensters umwandeln? on Thu, 17 Aug 2006 10:00:05 GMT]]></title><description><![CDATA[<p>ich denke die beiden sollten Dir helfen:</p>
<pre><code class="language-cpp">int cx = GetSystemMetrics( SM_CXDLGFRAME );
int cy = GetSystemMetrics( SM_CYCAPTION );
</code></pre>
<p>Ansonsten könntest Du mit GetWindowRect und GetClientRect die Ränder ermitteln...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1119029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1119029</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Thu, 17 Aug 2006 10:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Punkt auf Clientarea in Punkt von Aussenrand des Fensters umwandeln? on Thu, 17 Aug 2006 11:29:19 GMT]]></title><description><![CDATA[<p>GetWindowRect durchführen und danach ScreenToClient. Die Koordinaten werden für top und bottom Negativ entsprechen aber den theoretischen Koordinaten nach dem Clientrect, du kannst dann ganz normaldie entsprechenden Korrdinaten voneinander abziehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1119093</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1119093</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 17 Aug 2006 11:29:19 GMT</pubDate></item></channel></rss>