Added web browser variable
This commit is contained in:
@@ -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"
|
||||
|
||||
9
main.cpp
9
main.cpp
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user