Added web browser variable

This commit is contained in:
andreja6
2018-07-06 11:48:25 -07:00
parent 838f69944e
commit a47268830b
2 changed files with 10 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
UseOfMFC="0"
UseOfATL="2"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
@@ -73,6 +74,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="atl.lib"
OutputFile="./G3DTest.exe"
LinkIncremental="1"
SuppressStartupBanner="true"

View File

@@ -30,6 +30,10 @@
#include "win32Defines.h"
#include "WindowFunctions.h"
#include <limits.h>
#include <mshtml.h>
#include <exdisp.h>
#include <vector>
#include <string>
@@ -38,6 +42,7 @@
#endif
HWND hwnd;
IWebBrowser2* test;
static std::string title = "";
static DataModelInstance* dataModel;
GFontRef fntdominant = NULL;
@@ -66,6 +71,8 @@ static const std::string PlaceholderName = "Dynamica";
Demo *usableApp = NULL;
Demo::Demo(const GAppSettings& settings,HWND parentWindow) { //: GApp(settings,window) {
_hWndMain = parentWindow;
@@ -838,7 +845,7 @@ bool IsHolding(int button)
return (GetKeyState(button) >> 1)>0;
}
bool GetKPBool(int VK) {
BOOL GetKPBool(int VK) {
return (GetKeyState(VK) & 0x8000);
}