Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
4.7 KiB

  1. /*
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. appcompat.rc
  5. Abstract:
  6. The resource file for the modal dialog box and all its child controls.
  7. */
  8. #include <windows.h>
  9. #include "appcompat.h"
  10. #define TABGRP (WS_TABSTOP | WS_GROUP)
  11. #ifdef EXTRA_APP_COMPAT
  12. DialogProc DIALOG 32768, 0, 263, 240
  13. #else
  14. DialogProc DIALOG 32768, 0, 263, 200
  15. #endif
  16. STYLE WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  17. FONT 8, "MS Shell Dlg"
  18. CAPTION " Application Compatibility "
  19. {
  20. CONTROL "", IDD_APPEDIT, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER |
  21. WS_TABSTOP | ES_AUTOHSCROLL, 4, 20,190, 12
  22. GROUPBOX "Operating system" -1 6, 38, 220, 55
  23. AUTORADIOBUTTON "Windows &2000" IDD_NONE 8, 48, 60, 10, TABGRP
  24. AUTORADIOBUTTON "Windows NT4 SP&3" IDD_WINNT43 8, 60, 80, 10
  25. AUTORADIOBUTTON "Windows NT4 SP&4" IDD_WINNT44 8, 72, 80, 10
  26. AUTORADIOBUTTON "Windows NT4 SP&5" IDD_WINNT45 100, 48, 80, 10
  27. AUTORADIOBUTTON "Windows 9&8" IDD_WIN98 100, 60, 60, 10
  28. AUTORADIOBUTTON "Windows &95" IDD_WIN95 100, 72, 60, 10
  29. CONTROL "&Disable Heap Manager on Windows 2000 "
  30. ,IDD_CHECK1,"button",
  31. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  32. WS_TABSTOP, 6,115,160,13
  33. CONTROL "If the program does not run properly, select one or more of the following", -1 , "static", SS_LEFT,6,98, 240, 12
  34. CONTROL "check boxes:", -1 , "static", SS_LEFT,6,106, 200, 10
  35. CONTROL "Use pre-Windows 2000 &Temp path ",IDD_CHECK2,"button",
  36. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  37. WS_TABSTOP, 6,130,160,13
  38. CONTROL "C&orrect disk space detection for 2-GB+ drives",IDD_CHECK4,"button",
  39. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  40. WS_TABSTOP, 6,145,160,13
  41. CONTROL "&Make the above check box settings permanent",IDD_CHECK3,"button",
  42. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  43. WS_TABSTOP, 6,160,170,13
  44. #ifdef EXTRA_APP_COMPAT
  45. CONTROL "&Use pre-Windows 2000 FTM Object model",IDD_DCOMFTM,"button",
  46. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  47. WS_TABSTOP, 6,175,170,13
  48. CONTROL "&Use NT4-like GetShortPathName()",IDD_OLDPATH,"button",
  49. BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE |
  50. WS_TABSTOP, 6,190,170,13
  51. #endif
  52. #ifdef EXTRA_APP_COMPAT
  53. CONTROL "O&K", IDD_LAUNCH, "button", WS_CHILD | WS_VISIBLE |
  54. BS_DEFPUSHBUTTON | WS_TABSTOP | WS_GROUP,
  55. 80, 220, 45, 13
  56. CONTROL "&Cancel", IDD_CLOSE, "button", WS_CHILD | WS_VISIBLE |
  57. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  58. 130, 220, 45, 13
  59. CONTROL "&Browse...", IDD_BROWSE, "button", WS_CHILD | WS_VISIBLE |
  60. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  61. 205, 20, 50, 13
  62. CONTROL "&Help", IDD_HELP, "button", WS_CHILD | WS_VISIBLE |
  63. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  64. 180, 220, 45, 13
  65. #else
  66. CONTROL "O&K", IDD_LAUNCH, "button", WS_CHILD | WS_VISIBLE |
  67. BS_DEFPUSHBUTTON | WS_TABSTOP | WS_GROUP,
  68. 80, 180, 45, 13
  69. CONTROL "&Cancel", IDD_CLOSE, "button", WS_CHILD | WS_VISIBLE |
  70. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  71. 130, 180, 45, 13
  72. CONTROL "&Browse...", IDD_BROWSE, "button", WS_CHILD | WS_VISIBLE |
  73. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  74. 205, 20, 50, 13
  75. CONTROL "&Help", IDD_HELP, "button", WS_CHILD | WS_VISIBLE |
  76. BS_PUSHBUTTON | WS_TABSTOP | WS_GROUP,
  77. 180, 180, 45, 13
  78. #endif
  79. CONTROL "&Start the following program:", -1 , "static", SS_LEFT, 6, 7, 190, 8
  80. }
  81. #include <ntverp.h>
  82. #define VER_FILETYPE VFT_APP
  83. #define VER_FILESUBTYPE VFT2_UNKNOWN
  84. #define VER_FILEDESCRIPTION_STR "Application Compatibility"
  85. #define VER_INTERNALNAME_STR "apcompat\0"
  86. #include "common.ver"