<?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[WINDOWINFO und GetWindowInfo Problem]]></title><description><![CDATA[<p>Hi,</p>
<p>ich wuerde gerne die Struktur WINDOWINFO und die Funktion GetWindowInfo nutzen, allerdings sagt mir der Compiler immer, dass die beiden nicht deklariert seien. Die windows.h habe richtig inkludiert (steht so im MSDN), Libs sind auch eingebunden.</p>
<p>Woran kann sowas sonst noch liegen?</p>
<p>Danke!<br />
falix</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156262/windowinfo-und-getwindowinfo-problem</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 04:40:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156262.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Aug 2006 10:16:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Tue, 15 Aug 2006 10:16:43 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich wuerde gerne die Struktur WINDOWINFO und die Funktion GetWindowInfo nutzen, allerdings sagt mir der Compiler immer, dass die beiden nicht deklariert seien. Die windows.h habe richtig inkludiert (steht so im MSDN), Libs sind auch eingebunden.</p>
<p>Woran kann sowas sonst noch liegen?</p>
<p>Danke!<br />
falix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117437</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117437</guid><dc:creator><![CDATA[falix]]></dc:creator><pubDate>Tue, 15 Aug 2006 10:16:43 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Tue, 15 Aug 2006 10:58:10 GMT]]></title><description><![CDATA[<p>Definiere _WIN32_WINNT als 0x0501 vor dem Includen von &lt;windows.h&gt;.</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117465</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117465</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Tue, 15 Aug 2006 10:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Tue, 15 Aug 2006 11:28:52 GMT]]></title><description><![CDATA[<p>Hmm, klappt auch nicht.</p>
<p>Richtig eingebunden habe ich alles, da bin ich mir eigendlich sicher. Es klappt ja auch mit allen anderen Funktionen/Strukturen...</p>
<p>Woran koennte sowas denn noch liegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117505</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117505</guid><dc:creator><![CDATA[falix]]></dc:creator><pubDate>Tue, 15 Aug 2006 11:28:52 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Tue, 15 Aug 2006 11:35:35 GMT]]></title><description><![CDATA[<p>äh Sorry, versuch mal:</p>
<pre><code class="language-cpp">#define _WIN32_WINDOWS 0x0410
#define WINVER 0x0400
#include &lt;windows.h&gt;
</code></pre>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117511</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117511</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Tue, 15 Aug 2006 11:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Tue, 15 Aug 2006 17:01:47 GMT]]></title><description><![CDATA[<p>Danke. Geht aber leider immer noch nicht.</p>
<p>Langsam frustriert mich das ziemlich... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117742</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117742</guid><dc:creator><![CDATA[falix]]></dc:creator><pubDate>Tue, 15 Aug 2006 17:01:47 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Wed, 16 Aug 2006 12:41:48 GMT]]></title><description><![CDATA[<p>Hat keiner 'ne Ahnung, was das sein könnte?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118321</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118321</guid><dc:creator><![CDATA[falix]]></dc:creator><pubDate>Wed, 16 Aug 2006 12:41:48 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Wed, 16 Aug 2006 12:48:31 GMT]]></title><description><![CDATA[<p>Also mir gehen schön langsam die Ahnungen aus...<br />
Es könnt' höchstens noch sein, dass du eine uralt-Version der Platform SDK hast.</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118337</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118337</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Wed, 16 Aug 2006 12:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Wed, 16 Aug 2006 13:34:53 GMT]]></title><description><![CDATA[<p>Hmm, mein VC++ habe ich gestern erst auf den neuesten Stand gebracht. Klappt aber trotzdem nicht...</p>
<p>Wie kann ich denn sonst noch rausfinden, ob ein Fenster gerade maximiert ist?</p>
<p>Habe es mal mit GetWindowPlacement probiert. Wird zwar kompiliert, aber funktionieren tut's trotzdem nicht (Fenster ist angeblich immer maximiert).</p>
<pre><code class="language-cpp">WINDOWPLACEMENT wp = { 0 };
wp.length = sizeof(WINDOWPLACEMENT);
GetWindowPlacement(hWnd, &amp;wp);

if(wp.showCmd &amp; SW_MAXIMIZE)
	MessageBox(0, &quot;maximized&quot;, &quot;&quot;, 0);
</code></pre>
<p>Thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118397</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118397</guid><dc:creator><![CDATA[falix]]></dc:creator><pubDate>Wed, 16 Aug 2006 13:34:53 GMT</pubDate></item><item><title><![CDATA[Reply to WINDOWINFO und GetWindowInfo Problem on Wed, 16 Aug 2006 15:09:07 GMT]]></title><description><![CDATA[<p>Dein Fenster wird eine WM_SIZE Message kriegen, wenn es maximiert werden soll. Du könntest diese Message verarbeiten und immer wenn das Fenster maximiert wird eine statische bool Variabel auf true setzen. Über den lParam oder den wParam Wert der WM_SIZE Message kannst du rauskriegen ob das Fenster &quot;nur&quot; resizet wird oder ob es wirklich maximiert wird. Musst einfach mal in der MSDN schauen, welcher der beiden Parameter es ist.</p>
<p>Die Lösung ist nicht schön, sollte aber funktionieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118488</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118488</guid><dc:creator><![CDATA[flammenvogel]]></dc:creator><pubDate>Wed, 16 Aug 2006 15:09:07 GMT</pubDate></item></channel></rss>