Skip to content

Commit d29ce6f

Browse files
committed
2nd try: Enable per monitor dpi by default.
1 parent 4dfd9fc commit d29ce6f

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

Samples/High Level/07 Text Pad with Action List/TextPad.dproj

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
<PropertyGroup>
33
<ProjectGuid>{0AF51C96-7017-4AA6-A5FD-05D63D369DA1}</ProjectGuid>
44
<MainSource>TextPad.dpr</MainSource>
5-
<ProjectVersion>18.4</ProjectVersion>
5+
<ProjectVersion>20.3</ProjectVersion>
66
<Base>True</Base>
77
<Config Condition="'$(Config)'==''">Debug</Config>
88
<AppType>Application</AppType>
99
<FrameworkType>VCL</FrameworkType>
1010
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
11-
<Platform Condition="'$(Platform)'==''">Win32</Platform>
12-
<TargetedPlatforms>1</TargetedPlatforms>
11+
<Platform Condition="'$(Platform)'==''">Win64</Platform>
12+
<TargetedPlatforms>3</TargetedPlatforms>
13+
<ProjectName Condition="'$(ProjectName)'==''">TextPad</ProjectName>
1314
</PropertyGroup>
1415
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
1516
<Base>true</Base>
@@ -19,6 +20,11 @@
1920
<CfgParent>Base</CfgParent>
2021
<Base>true</Base>
2122
</PropertyGroup>
23+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
24+
<Base_Win64>true</Base_Win64>
25+
<CfgParent>Base</CfgParent>
26+
<Base>true</Base>
27+
</PropertyGroup>
2228
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
2329
<Cfg_1>true</Cfg_1>
2430
<CfgParent>Base</CfgParent>
@@ -30,6 +36,12 @@
3036
<Cfg_1>true</Cfg_1>
3137
<Base>true</Base>
3238
</PropertyGroup>
39+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win64)'!=''">
40+
<Cfg_1_Win64>true</Cfg_1_Win64>
41+
<CfgParent>Cfg_1</CfgParent>
42+
<Cfg_1>true</Cfg_1>
43+
<Base>true</Base>
44+
</PropertyGroup>
3345
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
3446
<Cfg_2>true</Cfg_2>
3547
<CfgParent>Base</CfgParent>
@@ -65,6 +77,10 @@
6577
<VerInfo_IncludeVerInfo>false</VerInfo_IncludeVerInfo>
6678
<DCC_Namespace>Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
6779
</PropertyGroup>
80+
<PropertyGroup Condition="'$(Base_Win64)'!=''">
81+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
82+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
83+
</PropertyGroup>
6884
<PropertyGroup Condition="'$(Cfg_1)'!=''">
6985
<DCC_Optimize>false</DCC_Optimize>
7086
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
@@ -76,7 +92,12 @@
7692
<DCC_MapFile>3</DCC_MapFile>
7793
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
7894
<AppDPIAwarenessMode>PerMonitor</AppDPIAwarenessMode>
79-
</PropertyGroup>
95+
</PropertyGroup>
96+
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
97+
<BT_BuildType>Debug</BT_BuildType>
98+
<Manifest_File>(None)</Manifest_File>
99+
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
100+
</PropertyGroup>
80101
<PropertyGroup Condition="'$(Cfg_2)'!=''">
81102
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
82103
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
@@ -101,17 +122,17 @@
101122
<Form>FormMain</Form>
102123
</DCCReference>
103124
<DCCReference Include="Ribbon\RibbonMarkup.pas"/>
104-
<BuildConfiguration Include="Release">
105-
<Key>Cfg_2</Key>
106-
<CfgParent>Base</CfgParent>
107-
</BuildConfiguration>
108125
<BuildConfiguration Include="Base">
109126
<Key>Base</Key>
110127
</BuildConfiguration>
111128
<BuildConfiguration Include="Debug">
112129
<Key>Cfg_1</Key>
113130
<CfgParent>Base</CfgParent>
114131
</BuildConfiguration>
132+
<BuildConfiguration Include="Release">
133+
<Key>Cfg_2</Key>
134+
<CfgParent>Base</CfgParent>
135+
</BuildConfiguration>
115136
</ItemGroup>
116137
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
117138
<ProjectExtensions>
@@ -154,7 +175,7 @@
154175
<Parameters Name="LoadAllSymbols">True</Parameters>
155176
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
156177
</Parameters>
157-
<Excluded_Packages />
178+
<Excluded_Packages/>
158179
</Delphi.Personality>
159180
<Platforms>
160181
<Platform value="Win32">True</Platform>

0 commit comments

Comments
 (0)