hopefully fixed navigation canceled problems on xp, added all files to vcproj/sln, webbrowser error shows "placeholder crash" as title instead of just the name

This commit is contained in:
scottbeebiwan
2018-07-07 18:23:01 -07:00
parent 374d3d3627
commit c4df4131df
3 changed files with 10 additions and 2 deletions

View File

@@ -256,6 +256,14 @@
RelativePath=".\Globals.cpp"
>
</File>
<File
RelativePath=".\IEBrowser.cpp"
>
</File>
<File
RelativePath=".\IEBrowser.h"
>
</File>
<File
RelativePath=".\IEDispatcher.cpp"
>

View File

@@ -59,7 +59,7 @@ bool IEBrowser::navigateSyncURL(wchar_t* url)
}
else
{
MessageBox(NULL,"Cannot read IWebBrowser2...",Globals::PlaceholderName.c_str(),MB_OK);
MessageBox(NULL,"Cannot read IWebBrowser2...",(Globals::PlaceholderName+" Crash").c_str(),MB_OK);
}
return false;
}

View File

@@ -141,7 +141,7 @@ Demo::Demo(const GAppSettings& settings,HWND parentWindow) { //: GApp(settings,w
SetWindowLongPtr(_hwndRenderer,GWL_USERDATA,(LONG)this);
IEBrowser* webBrowser = new IEBrowser(_hwndToolbox);
webBrowser->navigateSyncURL(L"https://scottbeebiwan.tk/g3d/toolbox/");
webBrowser->navigateSyncURL(L"http://scottbeebiwan.tk/g3d/toolbox/");
}
void clearInstances()