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.

177 lines
5.5 KiB

  1. //
  2. // Resource header
  3. //
  4. //
  5. // Menus
  6. //
  7. #define IDM_FRAME 100
  8. #define IDSM_CONTROL 0
  9. #define IDSM_VIEW 1
  10. #define IDSM_WINDOW 2
  11. #define IDSM_HELP 3
  12. //
  13. // Commands
  14. //
  15. // CONTROL
  16. #define POS_CONTROLCMD 0
  17. #define POS_FORWARDCONTROLCMD 1
  18. #define CMD_TOPMOST 100
  19. #define CMD_TAKECONTROL 101
  20. #define CMD_RELEASECONTROL 102
  21. #define CMD_CANCELCONTROL 103
  22. #define CMD_CTRLALTDEL 104
  23. #define CMD_VIEWSTATUSBAR 105
  24. #define CMD_VIEWWINDOWBAR 106
  25. #define CMD_VIEWFULLSCREEN 107
  26. #define CMD_HELPTOPICS 108
  27. #define CMD_HELPABOUT 109
  28. // WINDOW
  29. #define CMD_APPSTART 1000
  30. #define CMD_APPMAX 5000
  31. #define CMD_FORWARDCONTROLSTART 5000
  32. #define CMD_FORWARDCONTROLMAX 10000
  33. //
  34. // STRINGS
  35. // CVRTRES can't handle enum types, what a pain.
  36. //
  37. #define IDS_ABOUT 1 // NO REAL STRING
  38. #define IDS_RESTORE 2
  39. #define IDS_FONT_CURSORTAG 100
  40. #define IDS_TITLE_SHAREDPROGRAMS 101
  41. #define IDS_TITLE_SHAREDDESKTOP 102
  42. #define IDS_TITLE_CONTROLLABLE 103
  43. #define IDS_TITLE_INCONTROL 104
  44. #define IDS_CMD_CTRLALTDEL 110
  45. #define IDS_CMD_TAKECONTROL 111
  46. #define IDS_CMD_CANCELCONTROL 112
  47. #define IDS_CMD_RELEASECONTROL 113
  48. #define IDS_CMD_BLANKPROGRAM 114
  49. #define IDS_HIDDEN_WINDOW 115
  50. #define IDS_NOTHING 116
  51. #define IDS_DESKTOP 117
  52. #define IDS_DESKTOP_LOWER 118
  53. #define IDS_PROGRAMS 119
  54. #define IDS_PROGRAMS_LOWER 120
  55. #define IDS_NOTINCALL 121
  56. #define IDS_SHARING_FORMAT 122
  57. #define IDS_TOPMOST 123
  58. #define IDS_ALLOWCONTROL 124
  59. #define IDS_PREVENTCONTROL 125
  60. #define IDS_MSG_TOPREVENTCONTROL 126
  61. #define IDS_MSG_TOALLOWCONTROL 127
  62. #define IDS_STATUS_NONE 0
  63. #define IDS_STATUS_WAITINGFORCONTROL 150
  64. #define IDS_STATUS_CONTROLPAUSED 151
  65. //
  66. // Inform dialog
  67. // NOTE: Keep these in same order as CARESULT_ values
  68. //
  69. #define IDS_TITLE_TAKECONTROL_FAILED 200
  70. #define IDS_ERR_TAKECONTROL_MIN 200
  71. #define IDS_ERR_TAKECONTROL_FIRST 202
  72. #define IDS_ERR_TAKECONTROL_FAILED_BUSY 202
  73. #define IDS_ERR_TAKECONTROL_FAILED_USER 203
  74. #define IDS_ERR_TAKECONTROL_FAILED_WRONGSTATE 204
  75. #define IDS_ERR_TAKECONTROL_FAILED_TIMEDOUT 205
  76. #define IDS_ERR_TAKECONTROL_LAST IDS_ERR_TAKECONTROL_FAILED_TIMEDOUT
  77. //
  78. // Query dialogs
  79. //
  80. #define IDS_TITLE_QUERY_TAKECONTROL 250
  81. #define IDS_MSG_QUERY_TAKECONTROL 251
  82. #define IDS_TITLE_QUERY_GIVECONTROL 252
  83. #define IDS_MSG_QUERY_GIVECONTROL 253
  84. #define IDS_TITLE_QUERY_FORWARDCONTROL 254
  85. #define IDS_MSG_QUERY_FORWARDCONTROL 255
  86. #define IDS_TITLE_QUERY_YIELDCONTROL 256
  87. #define IDS_MSG_QUERY_YIELDCONTROL 257
  88. //
  89. // Add this to CMD id above & get status bar string
  90. // SO KEEP THESE IN THE SAME ORDER AS THE CMD_ IDs ABOVE
  91. //
  92. #define IDS_STATUS_MENU_CONTROL 400
  93. #define IDS_STATUS_MENU_VIEW 401
  94. #define IDS_STATUS_MENU_WINDOW 402
  95. #define IDS_STATUS_MENU_HELP 403
  96. #define IDS_STATUS_MENU_FORWARDCONTROL 404
  97. #define IDS_STATUS_CMDS_APP 405
  98. #define IDS_STATUS_CMDS_FORWARD 406
  99. #define IDS_STATUS_CMD_START 500
  100. #define IDS_STATUS_CMD_TOPMOST 600
  101. #define IDS_STATUS_CMD_TAKECONTROL 601
  102. #define IDS_STATUS_CMD_RELEASECONTROL 602
  103. #define IDS_STATUS_CMD_CANCELCONTROL 603
  104. #define IDS_STATUS_CMD_CTRLALTDEL 604
  105. #define IDS_STATUS_CMD_VIEWSTATUSBAR 605
  106. #define IDS_STATUS_CMD_VIEWWINDOWBAR 606
  107. #define IDS_STATUS_CMD_VIEWFULLSCREEN 607
  108. #define IDS_STATUS_CMD_HELPTOPICS 608
  109. #define IDS_STATUS_CMD_HELPABOUT 609
  110. //
  111. // DIALOGS
  112. //
  113. #define IDD_HOSTUI 100
  114. #define CTRL_PROGRAM_LIST 50
  115. #define CTRL_SHARE_BTN 51
  116. #define CTRL_UNSHARE_BTN 52
  117. #define CTRL_UNSHAREALL_BTN 53
  118. #define CTRL_ENABLETRUECOLOR_CHECK 54
  119. #define CTRL_CONTROL_MSG 55
  120. #define CTRL_ALLOWCONTROL_BTN 56
  121. #define CTRL_PREVENTCONTROL_BTN 57
  122. #define CTRL_AUTOACCEPTCONTROL_CHECK 58
  123. #define CTRL_TEMPREJECTCONTROL_CHECK 59
  124. #define IDD_INFORM 101
  125. #define CTRL_INFORM 50
  126. #define IDD_QUERY 102
  127. #define CTRL_QUERY 50
  128. #define IDD_ABOUT 103
  129. #define CTRL_ABOUTVERSION 50
  130. //
  131. // BITMAPS
  132. //
  133. #define IDB_HATCH32X32 100
  134. #define IDB_OBSCURED 101
  135. //
  136. // ICONS
  137. //
  138. #define IDI_SHAREICON 101
  139. #define IDI_DESKTOPICON 102
  140. #define IDI_CANCELFULLSCREEN 103