<?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[html&#x2F;browser darstellung in C Applikation]]></title><description><![CDATA[<p>ich habe vor in WinApi C eine applikation zu erstellen, die mir links über eine ComboBox verwalten und beim anklicken der links die entsprechende site innerhalb meines fensters darstellt (quasi sowas wie'n embedded browser). es soll dabei wirklich nur bei der darstellung der html-seiten bleiben.</p>
<p>jetzt die frage wie die darstellung zu realisieren ist. ein codebeispiel würde mir da sehr behilflich sein bzw. verweise auf entsprechende msdn-kapitel o.Ä.</p>
<p>(erster blick war die msdn bzw. google (hilft ja bekanntlich immer), aber werd nicht schlau daraus.)</p>
<p>vielen dank schonmal und achja, klasse forum - hat mir schon sehr geholfen^^</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/184284/html-browser-darstellung-in-c-applikation</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 11:17:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/184284.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jun 2007 20:53:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Wed, 13 Jun 2007 20:53:52 GMT]]></title><description><![CDATA[<p>ich habe vor in WinApi C eine applikation zu erstellen, die mir links über eine ComboBox verwalten und beim anklicken der links die entsprechende site innerhalb meines fensters darstellt (quasi sowas wie'n embedded browser). es soll dabei wirklich nur bei der darstellung der html-seiten bleiben.</p>
<p>jetzt die frage wie die darstellung zu realisieren ist. ein codebeispiel würde mir da sehr behilflich sein bzw. verweise auf entsprechende msdn-kapitel o.Ä.</p>
<p>(erster blick war die msdn bzw. google (hilft ja bekanntlich immer), aber werd nicht schlau daraus.)</p>
<p>vielen dank schonmal und achja, klasse forum - hat mir schon sehr geholfen^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1305220</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1305220</guid><dc:creator><![CDATA[flagg]]></dc:creator><pubDate>Wed, 13 Jun 2007 20:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Wed, 13 Jun 2007 21:15:18 GMT]]></title><description><![CDATA[<p>Vieleicht hilft dir das dabei</p>
<p><a href="http://www.codeproject.com/com/cwebpage.asp" rel="nofollow">http://www.codeproject.com/com/cwebpage.asp</a></p>
<p>MFG Ascharan <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/1305232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1305232</guid><dc:creator><![CDATA[Ascharan]]></dc:creator><pubDate>Wed, 13 Jun 2007 21:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Thu, 14 Jun 2007 21:16:59 GMT]]></title><description><![CDATA[<p>hm naja hatte ich auch schon gefunden; hab aber gehofft dass es auch ein weg ohne COM/OLE gibt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1306104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1306104</guid><dc:creator><![CDATA[flagg]]></dc:creator><pubDate>Thu, 14 Jun 2007 21:16:59 GMT</pubDate></item><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Thu, 14 Jun 2007 21:19:56 GMT]]></title><description><![CDATA[<p>flagg schrieb:</p>
<blockquote>
<p>hm naja hatte ich auch schon gefunden; hab aber gehofft dass es auch ein weg ohne COM/OLE gibt...</p>
</blockquote>
<p>Nop. Denke nicht, dass es sowas gibt. Da musst Du schon *alles von Hand* machen *g*.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1306108</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1306108</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Thu, 14 Jun 2007 21:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Fri, 15 Jun 2007 06:29:34 GMT]]></title><description><![CDATA[<p>wäre vieleicht auch noch ne lösung is aber ActiveX, ATL</p>
<pre><code>[cpp]
#include &lt;windows.h&gt; 
#include &lt;atlbase.h&gt; 
#include &lt;mshtml.h&gt; 
#include &lt;exdisp.h&gt; 
#include &quot;resource.h&quot; 

HWND hWnd; 
IWebBrowser2 *pWeb; 
IAxWinHostWindow* container; 

int CALLBACK MainDlgProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam); 

//======================================================== 
// WinMain() 
// Program Entry Point 
//======================================================== 
int APIENTRY WinMain(HINSTANCE hInstance, 
                     HINSTANCE hPrevInstance, 
                     LPSTR     lpCmdLine, 
                     int       nCmdShow ) { 
    MSG msg; 

    CoInitialize(0); 
    hWnd = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_MAIN), 0, MainDlgProc); 
    ShowWindow(hWnd,SW_SHOW); 

    while(GetMessage(&amp;msg,0,0,0)) { 
        TranslateMessage(&amp;msg); 
        DispatchMessage(&amp;msg); 
    } 
    CoUninitialize(); 

    return 0; 
} 

//======================================================== 
// MainDlgProc() 
// CALLBACK function von funky main dialog 
//======================================================== 
int CALLBACK MainDlgProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) { 
    CComVariant url, blabla; 

    switch(wMsg) { 

    case WM_INITDIALOG: 

        CoCreateInstance(CLSID_WebBrowser, NULL, CLSCTX_INPROC_SERVER, IID_IWebBrowser2, (LPVOID*) &amp;pWeb); 
        AtlAxAttachControl(pWeb, GetDlgItem(hDlg,IDC_FRAME),(IUnknown**)&amp;container); 

        ShowWindow(hWnd,SW_SHOW); 

        url = &quot;c:/Temp/tmp.html&quot;; 
        pWeb-&gt;Navigate2(&amp;url, &amp;blabla, &amp;blabla, &amp;blabla, &amp;blabla); 
    break; 

    case WM_CLOSE: 
        pWeb-&gt;Release(); 
        PostQuitMessage(0); 
        return 0; 
        break; 
    } 

return 0; 
}[/cpp]
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1306228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1306228</guid><dc:creator><![CDATA[Ascharan]]></dc:creator><pubDate>Fri, 15 Jun 2007 06:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to html&#x2F;browser darstellung in C Applikation on Fri, 15 Jun 2007 06:31:11 GMT]]></title><description><![CDATA[<p>gut danke erstma, werd mir das ma anschaun und mich gegebenenfalls mit COM/OLE beschäftigen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1306229</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1306229</guid><dc:creator><![CDATA[flagg]]></dc:creator><pubDate>Fri, 15 Jun 2007 06:31:11 GMT</pubDate></item></channel></rss>