<?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[Welche Seite ist im IE geöffnet?]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Möglichkeit, herauszubekommen, welche Seite gerade im IE geöffnet ist?</p>
<p>Habe schon mal gesucht, und irgendwas mit hooks gefunden.</p>
<p>Funktioniert das damit?</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/121190/welche-seite-ist-im-ie-geöffnet</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 20:20:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121190.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2005 07:41:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 07:41:08 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Möglichkeit, herauszubekommen, welche Seite gerade im IE geöffnet ist?</p>
<p>Habe schon mal gesucht, und irgendwas mit hooks gefunden.</p>
<p>Funktioniert das damit?</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876799</guid><dc:creator><![CDATA[12345432]]></dc:creator><pubDate>Wed, 21 Sep 2005 07:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 07:48:20 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>wie sollen wir dir sagen, ob etwas funktioniert, wenn du nicht sagst was genau? (Link?)<br />
Mit Hooks kann man viel machen. Ist aber eine Sache der WinAPI, also solltest du in diesem Subforum nachschauen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876808</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876808</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 21 Sep 2005 07:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 08:19:07 GMT]]></title><description><![CDATA[<p>Also noch mal langsam,</p>
<p>mein Programm soll alle paar Sekunden schauen, ob der IE geöffnet ist, und wenn ja welche Seite gerade geöffnet ist.</p>
<p>Mit der Überprüfung ob offen oder nicht, das habe ich schon. Was ich jetzt noch bräuchte, wäre welche Seite gerade geöffnet ist.</p>
<p>Habe schon mal mit Spy++ geschaut. Das entsprechende Feld im IE heißt Edit. Kann ich irgendwie auf das Feld zugreifen?</p>
<p>Das mit den Hooks war nur eine Frage, weil ich auf irgendeiner Seite gesehen hatte, das die mit Hooks den IE angezapt haben.</p>
<p>Grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876842</guid><dc:creator><![CDATA[12345432]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 08:26:13 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das kannst du grundsätzlich mit <em>FindWindow()</em> machen. Du hast ja den Namen des Controls, und bekommst dann das Handle.<br />
Aber Achtung!<br />
- du must dich durch die Control-Hierarchie des Explorer vom Fenster selber bis zum Edit durcharbeiten.<br />
- das Handle ist ein WinAPI-Edit, kein TEdit. Du must dann auch mit WinAPI-Funktionen den Text des Control auslesen.<br />
- du siehst das das alles WinAPI-Sachen sind. Also noch mal : las dich ins WinAPI-Subforum verschieben, und such dort erstmal nach <em>FindWindow</em></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876847</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 08:42:56 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/7971">@Akari</a>: danke dir erstmal</p>
<p>Kann mich dann bitte jemand von den Mods verschieben?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876861</guid><dc:creator><![CDATA[12345432]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:42:56 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 09:47:22 GMT]]></title><description><![CDATA[<p>Also, habe nochmal ein bisschen im Forum gesucht.</p>
<p>Habe folgenden Quellcode gefunden, und umgeschrieben auf den IE.</p>
<pre><code class="language-cpp">HWND hwndForm = FindWindow(&quot;IEFRAME&quot;,0);
HWND hwndEdit1 = FindWindowEx(hwndForm,0,&quot;Edit&quot;,0);
HWND hwndEdit2 = FindWindowEx(hwndForm,hwndEdit1,0,0);
</code></pre>
<p>Leider bekomme ich immer bei der Abfrage auf hwndEdit1 eine 0 raus, und bei hwndEdit2 irgendwas anderes. Hierbei ist aber Egal ob der IE offen ist oder nicht.</p>
<p>Weiß vielleicht noch jemand wo der Fehler liegt?</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876925</guid><dc:creator><![CDATA[12345432]]></dc:creator><pubDate>Wed, 21 Sep 2005 09:47:22 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Wed, 21 Sep 2005 22:40:11 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=437" rel="nofollow">Jansen</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=2" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/877469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877469</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 21 Sep 2005 22:40:11 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Thu, 22 Sep 2005 07:09:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
#include &lt;string&gt;
#include &lt;windows.h&gt;

void GetURL(char *titel)
{
	//char * titel = &quot;\1:blank - Microsoft Internet Explorer&quot;; 

	char buffer[1256]; 
	HWND child; 
	HWND ie; 
	if(ie = ::FindWindow(&quot;IEFrame&quot;,titel)) 
	{ 
		if(child = ::FindWindowEx(ie,0,&quot;WorkerW&quot;,0)) 
		{ 
			if(child = ::FindWindowEx(child,0,&quot;ReBarWindow32&quot;,0)) 
			{ 
				if(child = ::FindWindowEx(child,0,&quot;ComboBoxEx32&quot;,0)) 
				{ 
					::SendMessage(child,WM_GETTEXT,255,(long)&amp;buffer[0]); 
					char * tmp = &amp;buffer[0]; 
					//AfxMessageBox(tmp); 
					cout&lt;&lt;tmp&lt;&lt;endl;
				} 
			}                        
		} 
	} 
}

//Quellcode 
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) 
{ 
    static char cbuff[256]=&quot;\0&quot;; 
    static char strClass[200];

    static DWORD dwPID=0; 

    // get window class name 
    ::GetClassName(hwnd, strClass, 200); 

    // get pid 
    ::GetWindowThreadProcessId(hwnd, &amp;dwPID); 

    // get caption 
    ::GetWindowText(hwnd, cbuff, sizeof(cbuff)); 

	//cout&lt;&lt;cbuff&lt;&lt;endl;
//    buff.Format(&quot;%s&quot;,cbuff); 

    // In buff stehen nun alle offnen Fenster drin 
    // Du musst nun einfach die Rausfiltern die MIE oder halt Opera 
    // Im Titel haben 
    // mit if und find arbeiten   

	GetURL(cbuff);

    return true; 
} 

int main()
{
	// Der Aufruf der Callback Funktion 
	EnumChildWindows(GetDesktopWindow(),EnumWindowsProc, NULL); 

	system(&quot;pause&quot;);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/877539</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877539</guid><dc:creator><![CDATA[Vertexwahn]]></dc:creator><pubDate>Thu, 22 Sep 2005 07:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Seite ist im IE geöffnet? on Thu, 22 Sep 2005 07:09:52 GMT]]></title><description><![CDATA[<p>diese frage war schon mal da... per suche erfährst du vielleicht mehr</p>
]]></description><link>https://www.c-plusplus.net/forum/post/877541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877541</guid><dc:creator><![CDATA[Vertexwahn]]></dc:creator><pubDate>Thu, 22 Sep 2005 07:09:52 GMT</pubDate></item></channel></rss>