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.

214 lines
7.8 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #define APSTUDIO_HIDDEN_SYMBOLS
  10. #include "windows.h"
  11. #include "commctrl.h"
  12. #include "batmeter.rcv"
  13. #undef APSTUDIO_HIDDEN_SYMBOLS
  14. #include "bmresid.h"
  15. /////////////////////////////////////////////////////////////////////////////
  16. #undef APSTUDIO_READONLY_SYMBOLS
  17. /////////////////////////////////////////////////////////////////////////////
  18. // English (U.S.) resources
  19. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  20. #ifdef _WIN32
  21. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  22. #pragma code_page(1252)
  23. #endif //_WIN32
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29. 1 TEXTINCLUDE DISCARDABLE
  30. BEGIN
  31. "resource.h\0"
  32. END
  33. 2 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  36. "#include ""windows.h""\r\n"
  37. "#include ""commctrl.h""\r\n"
  38. "#include ""batmeter.rcv""\r\n"
  39. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  40. "#include ""bmresid.h""\r\n"
  41. "\0"
  42. END
  43. 3 TEXTINCLUDE DISCARDABLE
  44. BEGIN
  45. "\r\n"
  46. "\0"
  47. END
  48. #endif // APSTUDIO_INVOKED
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Bitmap
  52. //
  53. IDB_BATTS BITMAP DISCARDABLE "batticos.bmp"
  54. IDB_BATTS16 BITMAP DISCARDABLE "batico16.bmp"
  55. /////////////////////////////////////////////////////////////////////////////
  56. //
  57. // Dialog
  58. //
  59. IDD_BATMETER DIALOGEX 0, 0, 226, 174
  60. STYLE DS_CONTROL | WS_CHILD | NOT WS_VISIBLE
  61. EXSTYLE WS_EX_CONTEXTHELP
  62. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  63. BEGIN
  64. ICON "",IDC_POWERSTATUSICON,18,8,18,20
  65. LTEXT "Current power source:",IDC_CURRENTPOWERSOURCE,48,8,74,8
  66. LTEXT "Total battery power remaining:",IDC_TOTALBATPWRREMAINING,48,18,99,8
  67. CONTROL "",IDC_POWERSTATUSBAR,"msctls_progress32",0x0,3,51,218,14,NOT WS_VISIBLE
  68. LTEXT "Unknown",IDC_BARPERCENT,105,73,36,8,NOT WS_VISIBLE
  69. LTEXT "AC Power",IDC_BATTERYLEVEL,152,8,35,8,NOT WS_VISIBLE
  70. LTEXT "(charging)",IDC_CHARGING,185,18,32,8,NOT WS_VISIBLE
  71. LTEXT "Unknown",IDC_REMAINING,151,18,32,8,NOT WS_VISIBLE
  72. PUSHBUTTON "",IDC_POWERSTATUSICON1,14,53,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  73. CTEXT "Not present",IDC_STATUS1,4,75,50,8,NOT WS_VISIBLE
  74. LTEXT "100%",IDC_REMAINING1,34,62,18,8,NOT WS_VISIBLE
  75. PUSHBUTTON "",IDC_POWERSTATUSICON2,70,53,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  76. CTEXT "Not present",IDC_STATUS2,59,75,50,8,NOT WS_VISIBLE
  77. LTEXT "100%",IDC_REMAINING2,90,62,20,8,NOT WS_VISIBLE
  78. PUSHBUTTON "",IDC_POWERSTATUSICON3,126,53,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  79. CTEXT "Not present",IDC_STATUS3,116,75,50,8,NOT WS_VISIBLE
  80. LTEXT "100%",IDC_REMAINING3,146,62,20,8,NOT WS_VISIBLE
  81. PUSHBUTTON "",IDC_POWERSTATUSICON4,182,53,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  82. CTEXT "Not present",IDC_STATUS4,169,75,50,8,NOT WS_VISIBLE
  83. LTEXT "100%",IDC_REMAINING4,203,62,20,8,NOT WS_VISIBLE
  84. PUSHBUTTON "",IDC_POWERSTATUSICON5,14,109,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  85. CTEXT "Not present",IDC_STATUS5,4,132,50,8,NOT WS_VISIBLE
  86. LTEXT "100%",IDC_REMAINING5,34,118,20,8,NOT WS_VISIBLE
  87. PUSHBUTTON "",IDC_POWERSTATUSICON6,70,109,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  88. CTEXT "Not present",IDC_STATUS6,59,132,50,8,NOT WS_VISIBLE
  89. LTEXT "100%",IDC_REMAINING6,90,118,20,8,NOT WS_VISIBLE
  90. PUSHBUTTON "",IDC_POWERSTATUSICON7,126,109,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  91. CTEXT "Not present",IDC_STATUS7,116,132,50,8,NOT WS_VISIBLE
  92. LTEXT "100%",IDC_REMAINING7,146,118,20,8,NOT WS_VISIBLE
  93. PUSHBUTTON "",IDC_POWERSTATUSICON8,182,109,18,20,BS_ICON | BS_FLAT | NOT WS_VISIBLE
  94. CTEXT "Not present",IDC_STATUS8,169,132,50,8,NOT WS_VISIBLE
  95. LTEXT "100%",IDC_REMAINING8,202,118,19,8,NOT WS_VISIBLE
  96. LTEXT "Click an individual battery icon for more information.", IDC_MOREINFO,29,160,166,8,NOT WS_VISIBLE
  97. LTEXT "#1",IDC_BATNUM1,19,42,10,8,NOT WS_VISIBLE
  98. LTEXT "#2",IDC_BATNUM2,75,42,10,8,NOT WS_VISIBLE
  99. LTEXT "#3",IDC_BATNUM3,131,42,10,8,NOT WS_VISIBLE
  100. LTEXT "#4",IDC_BATNUM4,187,42,10,8,NOT WS_VISIBLE
  101. LTEXT "#5",IDC_BATNUM5,19,98,10,8,NOT WS_VISIBLE
  102. LTEXT "#6",IDC_BATNUM6,75,98,10,8,NOT WS_VISIBLE
  103. LTEXT "#7",IDC_BATNUM7,131,98,10,8,NOT WS_VISIBLE
  104. LTEXT "#8",IDC_BATNUM8,187,98,10,8,NOT WS_VISIBLE
  105. LTEXT "Total time remaining:",IDC_TOTALTIME,48,28,66,8,NOT WS_VISIBLE
  106. LTEXT "Unknown ",IDC_TIMEREMAINING,151,28,51,8,NOT WS_VISIBLE
  107. END
  108. IDD_BATDETAIL DIALOGEX 0, 0, 263, 156
  109. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  110. EXSTYLE WS_EX_CONTEXTHELP
  111. CAPTION "Detailed Battery Information"
  112. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  113. BEGIN
  114. DEFPUSHBUTTON "&OK",IDOK,206,134,50,14
  115. PUSHBUTTON "&Refresh",IDC_REFRESH,16,104,50,14
  116. LTEXT "Chemistry:",IDC_CHEMISTRY,16,48,34,8
  117. GROUPBOX "Battery status",IDC_BATMETERGROUPBOX,7,7,249,120
  118. LTEXT "Power state:",IDC_POWERSTATE,16,61,42,8
  119. LTEXT "Unknown",IDC_STATE,59,61,190,8
  120. LTEXT "Unknown",IDC_CHEM,56,48,194,8
  121. LTEXT "Date manufactured:",IDC_DATEMANUFACTURED,16,87,66,8
  122. LTEXT "Manufacturer:",IDC_MANUFACTURE,16,74,47,8
  123. LTEXT "Unique ID:",IDC_UNIQUEID,16,35,35,8
  124. LTEXT "Battery name:",IDC_BATTERYNAME,16,22,48,8
  125. LTEXT "Unknown",IDC_DEVNAME,66,22,179,8
  126. LTEXT "Unknown",IDC_BATID,54,35,191,8
  127. LTEXT "Unknown",IDC_BATMANNAME,66,74,182,8
  128. LTEXT "Unknown",IDC_BATMANDATE,85,87,163,8
  129. END
  130. /////////////////////////////////////////////////////////////////////////////
  131. //
  132. // DESIGNINFO
  133. //
  134. #ifdef APSTUDIO_INVOKED
  135. GUIDELINES DESIGNINFO DISCARDABLE
  136. BEGIN
  137. IDD_BATMETER, DIALOG
  138. BEGIN
  139. RIGHTMARGIN, 210
  140. BOTTOMMARGIN, 74
  141. END
  142. IDD_BATDETAIL, DIALOG
  143. BEGIN
  144. LEFTMARGIN, 7
  145. RIGHTMARGIN, 256
  146. TOPMARGIN, 7
  147. BOTTOMMARGIN, 148
  148. END
  149. END
  150. #endif // APSTUDIO_INVOKED
  151. /////////////////////////////////////////////////////////////////////////////
  152. //
  153. // String Table
  154. //
  155. STRINGTABLE DISCARDABLE
  156. BEGIN
  157. IDS_ACLINEONLINE "AC power"
  158. IDS_BATTERYLEVELFORMAT "Battery level: %1"
  159. IDS_UNKNOWN "Unknown"
  160. IDS_PERCENTREMAININGFORMAT "%1!u!%%"
  161. IDS_TIMEREMFORMATHOUR "%1!u!:%2!02u! hours"
  162. IDS_TIMEREMFORMATMIN "%1!u! min"
  163. IDS_BATTERIES "Batteries"
  164. IDS_NOT_PRESENT "Not Present"
  165. IDS_BATTCHARGING "Charging"
  166. END
  167. STRINGTABLE DISCARDABLE
  168. BEGIN
  169. IDS_BATNUM "#%1!u!"
  170. IDS_BATTERYNUMDETAILS "Detailed Information for Battery #%1!u! "
  171. IDS_BATTERY_POWER_ON_LINE "On Line"
  172. IDS_BATTERY_DISCHARGING "Discharging"
  173. IDS_BATTERY_CHARGING "Charging"
  174. IDS_BATTERY_CRITICAL "Critical"
  175. END
  176. #endif // English (U.S.) resources
  177. /////////////////////////////////////////////////////////////////////////////
  178. #ifndef APSTUDIO_INVOKED
  179. /////////////////////////////////////////////////////////////////////////////
  180. //
  181. // Generated from the TEXTINCLUDE 3 resource.
  182. //
  183. /////////////////////////////////////////////////////////////////////////////
  184. #endif // not APSTUDIO_INVOKED