Mercurial > projects > dwt-win
comparison dwt/internal/win32/OS.d @ 304:4e8e11ccfa60
Resouce manifest to ID 1
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 30 Aug 2008 13:59:13 +0200 |
parents | 9b075603b4fc |
children | da968414c383 |
comparison
equal
deleted
inserted
replaced
303:eddc0e013cb8 | 304:4e8e11ccfa60 |
---|---|
220 public static const int HEAP_ZERO_MEMORY = 0x8; | 220 public static const int HEAP_ZERO_MEMORY = 0x8; |
221 public static const int ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x00000008; | 221 public static const int ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x00000008; |
222 public static const int ACTCTX_FLAG_SET_PROCESS_DEFAULT = 0x00000010; | 222 public static const int ACTCTX_FLAG_SET_PROCESS_DEFAULT = 0x00000010; |
223 public static const int ACTCTX_FLAG_APPLICATION_NAME_VALID = 0x00000020; | 223 public static const int ACTCTX_FLAG_APPLICATION_NAME_VALID = 0x00000020; |
224 public static const int ACTCTX_FLAG_OVERRIDEMANIFEST_VALID = 0x00000100; | 224 public static const int ACTCTX_FLAG_OVERRIDEMANIFEST_VALID = 0x00000100; |
225 public static const TCHAR* MANIFEST_RESOURCE_ID = cast(TCHAR*)2; | 225 public static const TCHAR* MANIFEST_RESOURCE_ID = cast(TCHAR*)1; |
226 public static const int SM_DBCSENABLED = 0x2A; | 226 public static const int SM_DBCSENABLED = 0x2A; |
227 public static const int SM_IMMENABLED = 0x52; | 227 public static const int SM_IMMENABLED = 0x52; |
228 public static const int LANG_KOREAN = 0x12; | 228 public static const int LANG_KOREAN = 0x12; |
229 public static const int MAX_PATH = 260; | 229 public static const int MAX_PATH = 260; |
230 | 230 |
311 //PORTING_CHANGE: made by version | 311 //PORTING_CHANGE: made by version |
312 //IsUnicode = !IsWin32s && !IsWin95; | 312 //IsUnicode = !IsWin32s && !IsWin95; |
313 | 313 |
314 /* Load the manifest to force the XP Theme */ | 314 /* Load the manifest to force the XP Theme */ |
315 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { | 315 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { |
316 enableVisualStyles(); | 316 //enableVisualStyles(); |
317 } | 317 } |
318 | 318 |
319 // when to load uxtheme | 319 // when to load uxtheme |
320 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { | 320 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { |
321 loadLib( Symbols_UxTheme, `UxTheme.dll` ); | 321 loadLib( Symbols_UxTheme, `UxTheme.dll` ); |