Changeset 15c620efc0e9…
Parent ba0dec2f344e…
by
Changes to 3 files · Browse files at 15c620efc0e9 Showing diff from parent ba0dec2f344e Diff from another changeset...
@@ -45,6 +45,7 @@ {
ATLTRACE("DllMain: DLL_PROCESS_ATTACH\n");
_Module.Init(ObjectMap, hInstance, &LIBID_THgShell);
+ ::InitCommonControls();
}
else if (dwReason == DLL_PROCESS_DETACH)
{
|
@@ -190,7 +190,7 @@ <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;shlwapi.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comctl32.lib;shlwapi.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>THgShell.def</ModuleDefinitionFile>
</Link>
<CustomBuildStep>
|
@@ -19,6 +19,12 @@ // member in MENUITEMINFO.
#define WINVER 0x0500
+// Enable visual styles of Windows XP.
+#define ISOLATION_AWARE_ENABLED 1
+#pragma comment(linker, "/manifestdependency:\"type='win32' " \
+ "name='Microsoft.Windows.Common-Controls' version='6.0.0.0' " \
+ "processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
+
#include "resource.h"
#include <atlbase.h>
|
Loading...