<?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[Handle eines child von nem child eines child bekommen ;)[gelöst]]]></title><description><![CDATA[<p>Wie komme ich an das handle eines z.b. SysListView32 wenn es z.b. so aussieht:</p>
<pre><code>Anwendung
 AfxMDIFrame42
  AfxFrameOrView42
   #32770
    #32770
     SysListView32
</code></pre>
<p>so sieht die verschachtelung im winspector aus! kann ich in dem fall FindWindowEx anweisungen ineinander verschachteln oder wie sollte ich das anstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/111022/handle-eines-child-von-nem-child-eines-child-bekommen-gelöst</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:45:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/111022.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2005 21:32:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 15:04:24 GMT]]></title><description><![CDATA[<p>Wie komme ich an das handle eines z.b. SysListView32 wenn es z.b. so aussieht:</p>
<pre><code>Anwendung
 AfxMDIFrame42
  AfxFrameOrView42
   #32770
    #32770
     SysListView32
</code></pre>
<p>so sieht die verschachtelung im winspector aus! kann ich in dem fall FindWindowEx anweisungen ineinander verschachteln oder wie sollte ich das anstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796923</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Fri, 27 May 2005 15:04:24 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Thu, 26 May 2005 21:37:33 GMT]]></title><description><![CDATA[<p>ink3n schrieb:</p>
<blockquote>
<p>kann ich in dem fall FindWindowEx anweisungen ineinander verschachteln</p>
</blockquote>
<p>Genau <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/796925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796925</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 26 May 2005 21:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Thu, 26 May 2005 21:38:18 GMT]]></title><description><![CDATA[<p>Neiiinn *Zitat: Homer Simpson <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>
<p>THX für die traurige Gewissheit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/796926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796926</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Thu, 26 May 2005 21:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Thu, 26 May 2005 22:21:27 GMT]]></title><description><![CDATA[<p>Für das Beispiel von Oben also so:?</p>
<pre><code class="language-cpp">hwnd=FindWindowEx(FindWindowEx(FindWindowEx(FindWindowEx(FindWindowEx(FindWindow(&quot;Anwendung&quot;,NULL),NULL,&quot;AfxMDIFrame42&quot;,NULL),NULL,&quot;AfxFrameOrView42&quot;,NULL),NULL,&quot;#32770&quot;,NULL),NULL,&quot;#32770&quot;,NULL),NULL,&quot;SysListView32&quot;,NULL);
</code></pre>
<p>//ohh <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="😃"
    /> sry für das überschreiben der Fenstergrenze LOL</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796943</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Thu, 26 May 2005 22:21:27 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Thu, 26 May 2005 23:52:02 GMT]]></title><description><![CDATA[<p>gut, ich dreh gleich durch... :gaga: würde sich bitte jemand mal an folgendem beispiel versuchen? ich bekomms nicht gebacken! <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>
<pre><code>Anwendung
 AfxMDIFrame42
  #32770
   AfxMDIFrame42
    #32770
     AfxFrameOrView42
      RichEdit20A
</code></pre>
<p>HIIIIIIIIIIIIIIIIIIIILFEEEEEEE!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796970</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Thu, 26 May 2005 23:52:02 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 09:22:41 GMT]]></title><description><![CDATA[<p>soa, ich lass jetzt die katze aus dem sack <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p><a href="http://temperature.gotdns.com/shot1.jpg" rel="nofollow">http://temperature.gotdns.com/shot1.jpg</a></p>
<p>da liegt der screenshot von winspector, folgendes funktioniert ( im Bild blau markiert):</p>
<pre><code class="language-cpp">char buffer[4096*8];
...
child=FindWindowEx(FindWindowEx(FindWindowEx(FindWindowEx(FindWindowEx(FindWindow(&quot;Overnet&quot;,NULL),NULL,&quot;AfxMDIFrame42&quot;,NULL),NULL,&quot;#32770&quot;,NULL),NULL,&quot;AfxMDIFrame42&quot;,NULL),NULL,&quot;#32770&quot;,NULL),NULL,&quot;RichEdit20A&quot;,NULL);
if(child!=0)
 {
 SendMessage(child,WM_GETTEXT,4096*8-1,(long)&amp;buffer[0]);
 String tmp = &amp;buffer[0];
 RichEdit1-&gt;Text=tmp;
 }else
 ShowMessage(&quot;Kein Handle&quot;);
</code></pre>
<p>wenn ich das nun aber weiter verschachtel um das handle der roten markierung zu bekommen , gibt es kein handel... ich kann mir vorstellendas findwindowex sich daran aufhängt das es in der vorletzten ebene 2 mal den slben klassennamen gibt.<br />
aber irgendwie muss man doch an das handle komen! <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>
<p>kann mir biiiiitte jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/797094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797094</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Fri, 27 May 2005 09:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 12:36:32 GMT]]></title><description><![CDATA[<p>ich nehme an, du weisst wenn du beim HWND vom blauen angekommen bist, wieder zurück zum #32770 gehen musst.. dort aber das 2. Fenster von #32770 nehmen musst (mit FindWinndowEx den 2. parameter nutzen glaube ich) und dan erst über AfxFrame... und zu deinem roten gehen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/797261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797261</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Fri, 27 May 2005 12:36:32 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 14:26:23 GMT]]></title><description><![CDATA[<p>jaja, soweit war mir das klar nur wenn ich jetzt angenommen bei #32770 bin:</p>
<pre><code class="language-cpp">FindWindowEx(&quot;hwnd von #32770&quot;,&quot;wie jetzt vom 2. fenster?&quot;,&quot;gesuchte klasse&quot;,NULL);
</code></pre>
<p>also ich wieß nicht wie ich an das handel des 2. #32770 kommen soll! das ist ja kein child von #32770 sondern liegt auf der gleichen z ebene!</p>
<p>es gibt also 2 gleiche klassen auf der ebene und wie soll ich nun FindWindowEx klar machen welche er nehmen soll ??? Das ist meine Frage! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/797359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797359</guid><dc:creator><![CDATA[ink3n@work]]></dc:creator><pubDate>Fri, 27 May 2005 14:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 14:40:48 GMT]]></title><description><![CDATA[<p>MSDN schrieb:</p>
<blockquote>
<p>hwndChildAfter<br />
[in] Handle to a child window. The search begins with the next child window in the Z order. The child window must be a direct child window of hwndParent, not just a descendant window.</p>
<p>If hwndChildAfter is NULL, the search begins with the first child window of hwndParent.</p>
<p>Note that if both hwndParent and hwndChildAfter are NULL, the function searches all top-level and message-only windows.</p>
</blockquote>
<pre><code class="language-cpp">hwndForm = FindWindow(&quot;TForm1&quot;,0);
hwndEdit1 = FindWindowEx(hwndForm,0,&quot;TEdit&quot;,0);
hwndEdit2 = FindWindowEx(hwndForm,hwndEdit1,0,0);
</code></pre>
<p>ist ungetestet.. probier mal, sollte funtionieren.. ich denke mal komentare zum code sind überflüssig..</p>
<p>BigNeal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/797366</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797366</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Fri, 27 May 2005 14:40:48 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 15:02:59 GMT]]></title><description><![CDATA[<p>alles klar! das wars!ich geh kaputt... ich bin aber auch ein schmalspurdenker.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/797387</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797387</guid><dc:creator><![CDATA[ink3n]]></dc:creator><pubDate>Fri, 27 May 2005 15:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to Handle eines child von nem child eines child bekommen ;)[gelöst] on Fri, 27 May 2005 15:05:06 GMT]]></title><description><![CDATA[<p>habe mich vor kurzem auch damit auseinander setzen müssen.. aber msdn genau lesen nützt meistens <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/797388</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797388</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Fri, 27 May 2005 15:05:06 GMT</pubDate></item></channel></rss>