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.

92 lines
3.8 KiB

  1. /******************************************************************************
  2. Source File: Deskadp.rc
  3. Display detailed information about the display adapter installed in the
  4. machine
  5. Copyright (c) 1997-1998 by Microsoft Corporation
  6. Change History:
  7. 12-01-97 AndreVa - Created It
  8. ******************************************************************************/
  9. #include <windows.h>
  10. #include "resource.h"
  11. #include <ntverp.h>
  12. #define VER_FILETYPE VFT_DLL
  13. #define VER_FILESUBTYPE VFT2_UNKNOWN
  14. #define VER_FILEDESCRIPTION_STR "Advanced display adapter properties"
  15. #define VER_INTERNALNAME_STR "deskadp.dll"
  16. #include "common.ver"
  17. //////////////////////////////////////////////////////////////////////////////
  18. //
  19. // Icon
  20. //
  21. IDI_ADAPTER ICON DISCARDABLE "ADAPTER.ICO"
  22. PROP_SHEET_DLG DIALOGEX 20, 20, 252, 175
  23. STYLE DS_MODALFRAME|(DS_SETFONT|DS_FIXEDSYS) | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP | DS_NOIDLEMSG | DS_3DLOOK
  24. CAPTION "Adapter"
  25. FONT 8, "MS Shell Dlg"
  26. BEGIN
  27. GROUPBOX "Adapter Type", ID_ADP_ADPGRP, 7, 3, 237, 50
  28. ICON IDI_ADAPTER, IDI_ADAPTER, 12, 11, 18, 20, SS_REALSIZECONTROL
  29. LTEXT "", ID_ADP_ADAPTOR, 40, 17, 190, 20
  30. PUSHBUTTON "&Properties", IDC_PROPERTIES, 161, 33, 75, 14
  31. GROUPBOX "Adapter Information", ID_ADP_ADPINFGRP, 7, 56, 237, 75
  32. LTEXT "Chip Type:", ID_ADP_AI1, 13, 68, 58, 8
  33. LTEXT "DAC Type:", ID_ADP_AI2, 13, 80, 58, 8
  34. LTEXT "Memory Size:", ID_ADP_AI3, 13, 92, 58, 8
  35. LTEXT "Adapter String:", ID_ADP_AI4, 13, 104, 58, 8
  36. LTEXT "Bios Information:", ID_ADP_AI5, 13, 116, 58, 8
  37. LTEXT "", ID_ADP_CHIP, 71, 68, 160, 8
  38. LTEXT "", ID_ADP_DAC, 71, 80, 160, 8
  39. LTEXT "", ID_ADP_MEM, 71, 92, 160, 8
  40. LTEXT "", ID_ADP_ADP_STRING, 71, 104, 160, 8
  41. LTEXT "", ID_ADP_BIOS_INFO, 71, 116, 160, 8
  42. PUSHBUTTON "&List All Modes...", IDC_LIST_ALL, 7, 192, 75, 14
  43. END
  44. DLG_SET_MODE_LIST DIALOGEX 6, 18, 225, 135
  45. STYLE DS_MODALFRAME|(DS_SETFONT|DS_FIXEDSYS) | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  46. CAPTION "List All Modes"
  47. FONT 8, "MS Shell Dlg"
  48. BEGIN
  49. DEFPUSHBUTTON "OK", IDOK, 112, 115, 50, 15
  50. PUSHBUTTON "Cancel", IDCANCEL, 167, 115, 50, 15
  51. GROUPBOX "&List of valid modes", ID_MODE_LISTGRP, 6, 7, 212, 98,
  52. WS_GROUP
  53. LISTBOX ID_MODE_LIST, 10, 20, 204, 87,
  54. WS_VSCROLL | WS_GROUP | WS_TABSTOP
  55. END
  56. STRINGTABLE DISCARDABLE PRELOAD
  57. BEGIN
  58. IDS_PAGE_TITLE, "Adapter"
  59. IDS_MODE_4BIT_COLOR, "%d by %d, 16 Colors, %s"
  60. IDS_MODE_8BIT_COLOR, "%d by %d, 256 Colors, %s"
  61. IDS_MODE_15BIT_COLOR, "%d by %d, High Color (15 bit), %s"
  62. IDS_MODE_16BIT_COLOR, "%d by %d, High Color (16 bit), %s"
  63. IDS_MODE_TRUECOLOR24, "%d by %d, True Color (24 bit), %s"
  64. IDS_MODE_TRUECOLOR32, "%d by %d, True Color (32 bit), %s"
  65. IDS_MODE_REFRESH_DEF, "Default Refresh"
  66. IDS_MODE_REFRESH_INT, "%d Hertz (Interlaced)"
  67. IDS_MODE_REFRESH_HZ, "%d Hertz"
  68. IDS_MODE_UNSETTABLE, "Mode is not actually available - bad driver"
  69. IDS_BAD_COLOR, "Bad Color Depth - driver returning bad data"
  70. IDS_BAD_REFRESH, "Bad Refresh Rate - driver returning bad data"
  71. END