Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek shellext: added common control manifest

Changeset 15c620efc0e9

Parent ba0dec2f344e

by David Golub

Changes to 3 files · Browse files at 15c620efc0e9 Showing diff from parent ba0dec2f344e Diff from another changeset...

 
45
46
47
 
48
49
50
 
45
46
47
48
49
50
51
@@ -45,6 +45,7 @@
  {   ATLTRACE("DllMain: DLL_PROCESS_ATTACH\n");   _Module.Init(ObjectMap, hInstance, &LIBID_THgShell); + ::InitCommonControls();   }   else if (dwReason == DLL_PROCESS_DETACH)   {
 
190
191
192
193
 
194
195
196
 
190
191
192
 
193
194
195
196
@@ -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>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
 
 
 
 
 
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 // Copyright (C) 2011 Fog Creek Software  //  // This program is free software: you can redistribute it and/or modify  // it under the terms of the GNU General Public License as published by  // the Free Software Foundation, either version 2 of the License, or  // (at your option) any later version.  //  // This program is distributed in the hope that it will be useful,  // but WITHOUT ANY WARRANTY; without even the implied warranty of  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  // GNU General Public License for more details.  //  // You should have received a copy of the GNU General Public License  // along with this program. If not, see <http://www.gnu.org/licenses/>.    #pragma once    // WINVER must be defined as at least 0x0500 in order to have access to the hbmpItem  // 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>  extern CComModule _Module;  #include <atlcom.h>  #include <atlwin.h>  #include <atlstr.h>  #include <atlcoll.h>  #include <atlfile.h>  #include <shlobj.h>