<?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[Enum Problem]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich versteh nich wieso mein code hier nicht funktioniert.<br />
meine Methode loadScreen() wird nicht einmal aufgerufen <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="😞"
    /><br />
was stimmt hier nicht?</p>
<pre><code>#include &quot;enuMator.h&quot;

#include &lt;windows.h&gt;

BOOL CALLBACK MyEnumProc(HWND hWnd, LPARAM lParam) {
    char title[500];
    ZeroMemory(title, sizeof(title));

    if(!IsWindowVisible(hWnd)) return true;
    //GetWindowText(hWnd, title, sizeof(title)/sizeof(title[0]));

    enuMator* pAusgabe = (enuMator*)lParam; 
    pAusgabe-&gt;loadScreen();

    return true;
}

void enuMator::loadScreen() {
	emit sendText(tr(&quot;Fenster gefunden: &quot;) + tr(&quot;test&quot;) + tr(&quot;\n&quot;));
}

void enuMator::beginEnum() {
	enuMator* weiterGehts = this;	
	EnumWindows(MyEnumProc, (LPARAM)&amp;weiterGehts);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/211218/enum-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 18:27:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/211218.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Apr 2008 15:38:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Enum Problem on Sun, 20 Apr 2008 15:38:24 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich versteh nich wieso mein code hier nicht funktioniert.<br />
meine Methode loadScreen() wird nicht einmal aufgerufen <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="😞"
    /><br />
was stimmt hier nicht?</p>
<pre><code>#include &quot;enuMator.h&quot;

#include &lt;windows.h&gt;

BOOL CALLBACK MyEnumProc(HWND hWnd, LPARAM lParam) {
    char title[500];
    ZeroMemory(title, sizeof(title));

    if(!IsWindowVisible(hWnd)) return true;
    //GetWindowText(hWnd, title, sizeof(title)/sizeof(title[0]));

    enuMator* pAusgabe = (enuMator*)lParam; 
    pAusgabe-&gt;loadScreen();

    return true;
}

void enuMator::loadScreen() {
	emit sendText(tr(&quot;Fenster gefunden: &quot;) + tr(&quot;test&quot;) + tr(&quot;\n&quot;));
}

void enuMator::beginEnum() {
	enuMator* weiterGehts = this;	
	EnumWindows(MyEnumProc, (LPARAM)&amp;weiterGehts);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1495147</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1495147</guid><dc:creator><![CDATA[C++ - Anfänger]]></dc:creator><pubDate>Sun, 20 Apr 2008 15:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Enum Problem on Sun, 20 Apr 2008 17:13:18 GMT]]></title><description><![CDATA[<p>das is ein &amp; zuviel drin <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f4a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--light_bulb"
      title=":bulb:"
      alt="💡"
    /> &amp;weiterGehts</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1495199</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1495199</guid><dc:creator><![CDATA[rofler]]></dc:creator><pubDate>Sun, 20 Apr 2008 17:13:18 GMT</pubDate></item></channel></rss>