Hello! I've got a problem with a CHtmlView derived View on Windows 7. The CHtmlView derived View is embedded in a CTabView with the following code:
int COSTabbedView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CTabView::OnCreate(lpCreateStruct) == -1)
return -1;
AddView (RUNTIME\_CLASS (CResultView), \_T("Results"), 100);
AddView (RUNTIME\_CLASS (CBrowserView), \_T("Certificate"), 101);
return 0;
}
The view itself is initialized by:
void CBrowserView::OnInitialUpdate()
{
CHtmlView::OnInitialUpdate();
Navigate2(_T("http://www.google.de"));
}
On a Windows XP machine this works fine. The view displays the requested page. On Windows 7 the status bar of my application says something like "Downloading from www.google.de" and then a new Internet Explorer window will open and display the site but not with "www.google.de" in the address bar, but the path of the temporary downloaded file (!?). I've been searching around for several days now and found out at least one interesting thing: When I use Spy++ on WinXP I see the following windows below my view window: Shell Embedding + Shell DocObject View + Internet Explorer_Server On Windows 7 the "Shell DocObject View" and the "Internet Explorer_Server" window are missing. So I debugged into the creation of the CHtmlView window but they both behave the same on Win7 and XP. Does anyone have a hint what is going wrong here?