<?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[Name des Programms aus HWND]]></title><description><![CDATA[<p>Hallo!</p>
<p>Folgendes Problem:<br />
Ich will mit FindWindow(NULL, &quot;Applicationname&quot;) Handle auf mein Fenster bekommen. Im Fenster aber können auf der Titelleiste immer unterschiedliche strings hinter dem Programname angezeigt werden (z.B. &quot;ProgName : [Dokument 1]&quot;). Und schon finde ich mein Fenster nicht, wenn ich nur &quot;ProgName&quot; angebe.<br />
Deshalb möchte ich mit FindWindow(NULL, NULL) irgendein Handle finden, analysieren, und, wenn es nicht das richtige ist, das nächste Handle mit GetNextWindow() holen.<br />
Meine Frage ist: wie kann ich aus HWND den Namen eines Fensters ermitteln?</p>
<p>Danke im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/73831/name-des-programms-aus-hwnd</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 20:47:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/73831.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 May 2004 10:42:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Name des Programms aus HWND on Fri, 14 May 2004 10:43:15 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Folgendes Problem:<br />
Ich will mit FindWindow(NULL, &quot;Applicationname&quot;) Handle auf mein Fenster bekommen. Im Fenster aber können auf der Titelleiste immer unterschiedliche strings hinter dem Programname angezeigt werden (z.B. &quot;ProgName : [Dokument 1]&quot;). Und schon finde ich mein Fenster nicht, wenn ich nur &quot;ProgName&quot; angebe.<br />
Deshalb möchte ich mit FindWindow(NULL, NULL) irgendein Handle finden, analysieren, und, wenn es nicht das richtige ist, das nächste Handle mit GetNextWindow() holen.<br />
Meine Frage ist: wie kann ich aus HWND den Namen eines Fensters ermitteln?</p>
<p>Danke im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/520242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/520242</guid><dc:creator><![CDATA[Laie]]></dc:creator><pubDate>Fri, 14 May 2004 10:43:15 GMT</pubDate></item><item><title><![CDATA[Reply to Name des Programms aus HWND on Fri, 14 May 2004 10:50:25 GMT]]></title><description><![CDATA[<p>Du könntest GetWindowText machen und dann darin nach dem Programmtitel suchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/520252</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/520252</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Fri, 14 May 2004 10:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to Name des Programms aus HWND on Fri, 14 May 2004 11:10:08 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">CWnd* Wnd=CWnd::FromHandle(hWnd);
if(Wnd)
  Wnd-&gt;GetWindowText();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/520256</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/520256</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Fri, 14 May 2004 11:10:08 GMT</pubDate></item><item><title><![CDATA[Reply to Name des Programms aus HWND on Fri, 14 May 2004 11:21:24 GMT]]></title><description><![CDATA[<p>Danke, bin auch darauf gekommen<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/520261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/520261</guid><dc:creator><![CDATA[Laie]]></dc:creator><pubDate>Fri, 14 May 2004 11:21:24 GMT</pubDate></item></channel></rss>