home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 November / PCWorld_2004-11_cd.bin / software / temacd / poweroff / pwroff30.exe / src / poweroff.rc < prev    next >
Text File  |  2003-08-10  |  21KB  |  566 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE 
  42. BEGIN
  43.     "\r\n"
  44.     "\0"
  45. END
  46.  
  47. #endif    // APSTUDIO_INVOKED
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Dialog
  53. //
  54.  
  55. IDD_POWEROFF DIALOGEX 0, 0, 238, 231
  56. STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | 
  57.     WS_SYSMENU
  58. EXSTYLE WS_EX_CONTROLPARENT
  59. MENU IDR_POWEROFF
  60. FONT 8, "MS Sans Serif"
  61. BEGIN
  62.     CONTROL         "Local Computer",IDC_LOCAL_COMPUTER,"Button",
  63.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,14,17,65,10
  64.     CONTROL         "Remote Computer",IDC_REMOTE_COMPUTER,"Button",
  65.                     BS_AUTORADIOBUTTON | WS_TABSTOP,91,17,73,10
  66.     PUSHBUTTON      "Specify...",IDC_BUT_REMOTE,183,15,46,14
  67.     CONTROL         "Logoff",IDC_LOGOFF,"Button",BS_AUTORADIOBUTTON | 
  68.                     WS_GROUP | WS_TABSTOP,11,52,59,10
  69.     CONTROL         "Reboot",IDC_REBOOT,"Button",BS_AUTORADIOBUTTON | 
  70.                     WS_TABSTOP,11,67,39,10
  71.     CONTROL         "Shutdown",IDC_SHUTDOWN,"Button",BS_AUTORADIOBUTTON | 
  72.                     WS_TABSTOP,11,82,48,10
  73.     CONTROL         "Poweroff",IDC_POWEROFF,"Button",BS_AUTORADIOBUTTON | 
  74.                     WS_TABSTOP,11,97,44,10
  75.     CONTROL         "Standby",IDC_STANDBY,"Button",BS_AUTORADIOBUTTON | 
  76.                     WS_TABSTOP,11,112,42,10
  77.     CONTROL         "Hibernate",IDC_HIBERNATE,"Button",BS_AUTORADIOBUTTON | 
  78.                     WS_TABSTOP,11,127,47,10
  79.     CONTROL         "Lock",IDC_LOCK,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
  80.                     11,142,32,10
  81.     CONTROL         "Wake-On-LAN",IDC_WAKE_ON_LAN,"Button",
  82.                     BS_AUTORADIOBUTTON | WS_TABSTOP,11,157,61,10
  83.     CONTROL         "Turn off monitor",IDC_MONITOR_OFF,"Button",
  84.                     BS_AUTORADIOBUTTON | WS_TABSTOP,11,172,61,10
  85.     CONTROL         "Turn on monitor",IDC_MONITOR_ON,"Button",
  86.                     BS_AUTORADIOBUTTON | WS_TABSTOP,11,187,61,10
  87.     CONTROL         "No action",IDC_NO_ACTION,"Button",BS_AUTORADIOBUTTON | 
  88.                     WS_TABSTOP,11,202,61,10
  89.     CONTROL         "Warning message",IDC_WARNING,"Button",BS_AUTOCHECKBOX | 
  90.                     WS_TABSTOP,93,49,73,10
  91.     PUSHBUTTON      "Message...",IDC_BUT_MESSAGE,183,47,46,14
  92.     CONTROL         "Run program",IDC_PRE_JOB,"Button",BS_AUTOCHECKBOX | 
  93.                     WS_TABSTOP,93,65,57,10
  94.     PUSHBUTTON      "Program...",IDC_BUT_PROGRAM,183,64,46,14
  95.     CONTROL         "Force applications to close",IDC_FORCE,"Button",
  96.                     BS_AUTOCHECKBOX | WS_TABSTOP,93,81,100,10
  97.     CONTROL         "Visible in tray",IDC_TRAY,"Button",BS_AUTOCHECKBOX | 
  98.                     WS_TABSTOP,93,97,57,10
  99.     CONTROL         "Allow cancel",IDC_ALLOW_CANCEL,"Button",BS_AUTOCHECKBOX | 
  100.                     WS_TABSTOP,93,113,56,10
  101.     CONTROL         "Allow remote control",IDC_ALLOW_REMOTE_CONTROL,"Button",
  102.                     BS_AUTOCHECKBOX | WS_TABSTOP,93,130,79,10
  103.     PUSHBUTTON      "Settings...",IDC_BUT_REMOTE_CONTROL,183,128,46,14
  104.     CONTROL         "Immediate",IDC_IMMEDIATE,"Button",BS_AUTORADIOBUTTON | 
  105.                     WS_GROUP | WS_TABSTOP,95,162,48,10
  106.     CONTROL         "Scheduled",IDC_SCHEDULED,"Button",BS_AUTORADIOBUTTON | 
  107.                     WS_TABSTOP,95,178,50,10
  108.     PUSHBUTTON      "Schedule...",IDC_BUT_SCHEDULE,183,175,46,14
  109.     CONTROL         "After a process stops",IDC_AFTER_PROCESS,"Button",
  110.                     BS_AUTORADIOBUTTON | WS_TABSTOP,95,194,82,10
  111.     PUSHBUTTON      "Process...",IDC_BUT_PROCESS,183,191,46,14
  112.     DEFPUSHBUTTON   "Do it",IDC_OK,122,210,51,14
  113.     PUSHBUTTON      "Close",IDC_CANCEL,180,210,51,14
  114.     GROUPBOX        "Select Computer",IDC_ACTION,7,7,224,28,WS_GROUP
  115.     GROUPBOX        "Action",IDC_ACTION,7,38,71,180,WS_GROUP
  116.     GROUPBOX        "Options",IDC_OPTIONS,89,38,142,107,WS_GROUP
  117.     GROUPBOX        "When",IDC_SCHEDULE,89,151,142,56,WS_GROUP
  118. END
  119.  
  120.  
  121. /////////////////////////////////////////////////////////////////////////////
  122. //
  123. // DESIGNINFO
  124. //
  125.  
  126. #ifdef APSTUDIO_INVOKED
  127. GUIDELINES DESIGNINFO DISCARDABLE 
  128. BEGIN
  129.     IDD_POWEROFF, DIALOG
  130.     BEGIN
  131.         LEFTMARGIN, 7
  132.         RIGHTMARGIN, 231
  133.         TOPMARGIN, 7
  134.         BOTTOMMARGIN, 224
  135.     END
  136. END
  137. #endif    // APSTUDIO_INVOKED
  138.  
  139.  
  140. #ifndef _MAC
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Version
  144. //
  145.  
  146. VS_VERSION_INFO VERSIONINFO
  147.  FILEVERSION 3,0,1,3
  148.  PRODUCTVERSION 3,0,1,3
  149.  FILEFLAGSMASK 0x3fL
  150. #ifdef _DEBUG
  151.  FILEFLAGS 0x1L
  152. #else
  153.  FILEFLAGS 0x0L
  154. #endif
  155.  FILEOS 0x40004L
  156.  FILETYPE 0x1L
  157.  FILESUBTYPE 0x0L
  158. BEGIN
  159.     BLOCK "StringFileInfo"
  160.     BEGIN
  161.         BLOCK "040904b0"
  162.         BEGIN
  163.             VALUE "Comments", "jorgen.bosman@pandora.be\0"
  164.             VALUE "CompanyName", "Jorgen Bosman\0"
  165.             VALUE "FileDescription", "poweroff\0"
  166.             VALUE "FileVersion", "3, 0, 1, 3\0"
  167.             VALUE "InternalName", "poweroff\0"
  168.             VALUE "LegalCopyright", "Created in 1999-2002\0"
  169.             VALUE "LegalTrademarks", "This is freeware!\0"
  170.             VALUE "OriginalFilename", "poweroff.exe\0"
  171.             VALUE "PrivateBuild", "\0"
  172.             VALUE "ProductName", "Poweroff\0"
  173.             VALUE "ProductVersion", "3, 0, 1, 3\0"
  174.             VALUE "SpecialBuild", "\0"
  175.         END
  176.     END
  177.     BLOCK "VarFileInfo"
  178.     BEGIN
  179.         VALUE "Translation", 0x409, 1200
  180.     END
  181. END
  182.  
  183. #endif    // !_MAC
  184.  
  185. #endif    // English (U.S.) resources
  186. /////////////////////////////////////////////////////////////////////////////
  187.  
  188.  
  189. /////////////////////////////////////////////////////////////////////////////
  190. // Dutch (Belgium) resources
  191.  
  192. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NLB)
  193. #ifdef _WIN32
  194. LANGUAGE LANG_DUTCH, SUBLANG_DUTCH_BELGIAN
  195. #pragma code_page(1252)
  196. #endif //_WIN32
  197.  
  198. /////////////////////////////////////////////////////////////////////////////
  199. //
  200. // Dialog
  201. //
  202.  
  203. IDD_WARNING DIALOG DISCARDABLE  0, 0, 186, 117
  204. STYLE DS_SYSMODAL | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | 
  205.     WS_CAPTION
  206. CAPTION "Computer is shutting down"
  207. FONT 8, "MS Sans Serif"
  208. BEGIN
  209.     DEFPUSHBUTTON   "OK",IDC_DO_IT_NOW,7,96,82,14
  210.     EDITTEXT        IDC_SHUTDOWN_TEXT,7,21,172,56,ES_CENTER | ES_MULTILINE | 
  211.                     ES_AUTOVSCROLL
  212.     CTEXT           "POWEROFF Initiated",IDC_SHUTDOWN_INFO,7,7,172,8
  213.     CTEXT           "Time left: 0 seconds",IDC_SHUTDOWN_TIME,7,79,172,8
  214.     PUSHBUTTON      "Cancel",IDC_CANCEL,97,96,82,14
  215. END
  216.  
  217. IDD_SCHEDULE DIALOG DISCARDABLE  0, 0, 275, 180
  218. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  219. CAPTION "Schedule"
  220. FONT 8, "MS Sans Serif"
  221. BEGIN
  222.     CONTROL         "DateTimePicker1",IDC_TIME,"SysDateTimePick32",
  223.                     DTS_RIGHTALIGN | DTS_UPDOWN | WS_TABSTOP | 0x8,36,7,80,
  224.                     15
  225.     CONTROL         "Fixed day",IDC_FIXED_DAY,"Button",BS_AUTORADIOBUTTON | 
  226.                     WS_TABSTOP,36,25,46,10
  227.     CONTROL         "Daily",IDC_FIXED_DAYS,"Button",BS_AUTORADIOBUTTON | 
  228.                     WS_TABSTOP,36,40,31,10
  229.     CONTROL         "Day of month",IDC_FIXED_MONTH_DAY,"Button",
  230.                     BS_AUTORADIOBUTTON | WS_TABSTOP,36,104,58,10
  231.     CONTROL         "After",IDC_AFTER_X_SECONDS,"Button",BS_AUTORADIOBUTTON | 
  232.                     WS_TABSTOP,36,120,31,10
  233.     CONTROL         "DateTimePicker1",IDC_DATE,"SysDateTimePick32",
  234.                     DTS_RIGHTALIGN | WS_TABSTOP,99,23,80,15
  235.     CONTROL         "Monday",IDC_MONDAY,"Button",BS_AUTOCHECKBOX | 
  236.                     WS_TABSTOP,99,40,41,10
  237.     CONTROL         "Tuesday",IDC_TUESDAY,"Button",BS_AUTOCHECKBOX | 
  238.                     WS_TABSTOP,99,51,43,10
  239.     CONTROL         "Wednesday",IDC_WEDNESDAY,"Button",BS_AUTOCHECKBOX | 
  240.                     WS_TABSTOP,99,62,54,10
  241.     CONTROL         "Thursday",IDC_THURSDAY,"Button",BS_AUTOCHECKBOX | 
  242.                     WS_TABSTOP,99,74,45,10
  243.     CONTROL         "Friday",IDC_FRIDAY,"Button",BS_AUTOCHECKBOX | 
  244.                     WS_TABSTOP,99,85,35,10
  245.     CONTROL         "Saturday",IDC_SATURDAY,"Button",BS_AUTOCHECKBOX | 
  246.                     WS_TABSTOP,157,40,44,10
  247.     CONTROL         "Sunday",IDC_SUNDAY,"Button",BS_AUTOCHECKBOX | 
  248.                     WS_TABSTOP,157,51,40,10
  249.     CONTROL         "Week 1",IDC_WEEK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  250.                     214,40,41,10
  251.     CONTROL         "Week 2",IDC_WEEK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  252.                     214,51,41,10
  253.     CONTROL         "Week 3",IDC_WEEK3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  254.                     214,62,41,10
  255.     CONTROL         "Week 4",IDC_WEEK4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  256.                     214,74,41,10
  257.     CONTROL         "Week 5",IDC_WEEK5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  258.                     214,85,41,10
  259.     EDITTEXT        IDC_MONTH_DAY,99,102,40,14,ES_AUTOHSCROLL | ES_NUMBER
  260.     EDITTEXT        IDC_AFTER_SECONDS,99,118,40,14,ES_AUTOHSCROLL | 
  261.                     ES_NUMBER
  262.     LTEXT           "Seconds",IDC_STATIC,143,121,29,8
  263.     EDITTEXT        IDC_WAITTIME,36,138,40,14,ES_RIGHT | ES_AUTOHSCROLL | 
  264.                     ES_NUMBER
  265.     DEFPUSHBUTTON   "OK",IDOK,162,159,50,14
  266.     PUSHBUTTON      "Cancel",IDCANCEL,218,159,50,14
  267.     LTEXT           "Time:",IDC_TIME_TEXT,7,10,18,8
  268.     LTEXT           "Date:",IDC_TIME_TEXT2,7,26,18,8
  269.     LTEXT           "Wait:",IDC_WAIT_TEXT1,7,141,18,8
  270.     LTEXT           "seconds before checking time",IDC_WAIT_TEXT2,78,141,96,
  271.                     8
  272.     LTEXT           "Current time:",IDC_CURRENT_TIME_TEXT,119,10,40,8
  273.     LTEXT           "00:00:00",IDC_CURRENT_TIME,163,10,44,8
  274. END
  275.  
  276. IDD_WARNING_MESSAGE DIALOG DISCARDABLE  0, 0, 233, 122
  277. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  278. CAPTION "Warning message"
  279. FONT 8, "MS Sans Serif"
  280. BEGIN
  281.     EDITTEXT        IDC_WARNING_TIME,86,7,40,14,ES_RIGHT | ES_AUTOHSCROLL | 
  282.                     ES_NUMBER
  283.     EDITTEXT        IDC_WARNING_MESSAGE,86,23,140,45,ES_MULTILINE | 
  284.                     ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
  285.     CONTROL         "",IDC_PLAY_SOUND,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  286.                     86,70,8,8
  287.     EDITTEXT        IDC_SOUND_FILE,86,81,124,14,ES_AUTOHSCROLL
  288.     PUSHBUTTON      "...",IDC_BROWSE_SOUND,212,81,14,14
  289.     DEFPUSHBUTTON   "OK",IDOK,121,101,50,14
  290.     PUSHBUTTON      "Cancel",IDCANCEL,176,101,50,14
  291.     LTEXT           "Time to display warning:",IDC_WARNING_TIME_TEXT,7,10,76,
  292.                     8
  293.     LTEXT           "seconds",IDC_SECS_TEXT,127,10,28,8
  294.     LTEXT           "Warning message:",IDC_WARNING_TEXT,7,22,60,8
  295.     LTEXT           "Play a sound:",IDC_PLAY_SOUND_TEXT,7,70,44,8
  296.     LTEXT           "Sound file:",IDC_SOUND_FILE_TEXT,7,84,34,8
  297. END
  298.  
  299. IDD_REMOTE DIALOG DISCARDABLE  0, 0, 231, 156
  300. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  301. CAPTION "Remote computer"
  302. FONT 8, "MS Sans Serif"
  303. BEGIN
  304.     EDITTEXT        IDC_COMPUTER,104,11,100,14,ES_AUTOHSCROLL
  305.     PUSHBUTTON      "...",IDC_BROWSE,208,11,16,14
  306.     CONTROL         "(only shutdown and reboot)",IDC_REMOTE_NT,"Button",
  307.                     BS_AUTOCHECKBOX | WS_TABSTOP,104,29,120,8
  308.     CONTROL         "",IDC_REMOTE_CREDENTIALS,"Button",BS_AUTOCHECKBOX | 
  309.                     WS_TABSTOP,104,43,120,8
  310.     EDITTEXT        IDC_REMOTE_USERNAME,104,55,100,14,ES_AUTOHSCROLL
  311.     EDITTEXT        IDC_REMOTE_PASSWORD,104,72,100,14,ES_PASSWORD | 
  312.                     ES_AUTOHSCROLL
  313.     EDITTEXT        IDC_REMOTE_PORT,104,90,100,14,ES_AUTOHSCROLL | ES_NUMBER
  314.     CONTROL         "(will be stored as plain text!)",
  315.                     IDC_REMOTE_SAVE_PASSWORD,"Button",BS_AUTOCHECKBOX | 
  316.                     WS_TABSTOP,104,109,120,8
  317.     CONTROL         "",IDC_REMOTE_SCHEDULE,"Button",BS_AUTOCHECKBOX | 
  318.                     WS_TABSTOP,104,123,75,8
  319.     DEFPUSHBUTTON   "OK",IDOK,112,135,50,14
  320.     PUSHBUTTON      "Cancel",IDCANCEL,174,135,50,14
  321.     LTEXT           "Computer name:",IDC_REMOTE_TEXT,7,14,52,8
  322.     LTEXT           "Use NT protocol:",IDC_REMOTE_NT_TEXT,7,29,55,8
  323.     LTEXT           "Password:",IDC_REMOTE_PASSWORD_TEXT,7,75,34,8
  324.     LTEXT           "Port number:",IDC_REMOTE_PORT_TEXT,7,93,41,8
  325.     LTEXT           "Save password:",IDC_REMOTE_SAVE_TEXT,7,109,52,8
  326.     LTEXT           "Schedule on remote machine:",IDC_REMOTE_SCHEDULE_TEXT,7,
  327.                     123,95,8
  328.     LTEXT           "Use current credentials:",IDC_REMOTE_CURRENT_TEXT,7,43,
  329.                     76,8
  330.     LTEXT           "NT Username:",IDC_REMOTE_PORT_TEXT2,7,58,47,8
  331. END
  332.  
  333. IDD_PROGRAM DIALOG DISCARDABLE  0, 0, 219, 71
  334. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  335. CAPTION "Program"
  336. FONT 8, "MS Sans Serif"
  337. BEGIN
  338.     EDITTEXT        IDC_PROGRAM_NAME,66,10,127,14,ES_AUTOHSCROLL
  339.     PUSHBUTTON      "...",IDC_BROWSE,196,10,16,14
  340.     EDITTEXT        IDC_PROGRAM_DIRECTORY,66,27,127,14,ES_AUTOHSCROLL
  341.     PUSHBUTTON      "...",IDC_BROWSE_DIRECTORY,196,27,16,14
  342.     DEFPUSHBUTTON   "OK",IDOK,106,50,50,14
  343.     PUSHBUTTON      "Cancel",IDCANCEL,162,50,50,14
  344.     LTEXT           "Program:",IDC_PROGRAM_TEXT,7,13,29,8
  345.     LTEXT           "Startup directory:",IDC_PROGRAM_DIR,7,30,54,8
  346. END
  347.  
  348. IDD_PROCESS DIALOG DISCARDABLE  0, 0, 186, 66
  349. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  350. CAPTION "Process"
  351. FONT 8, "MS Sans Serif"
  352. BEGIN
  353.     EDITTEXT        IDC_PROCESS,47,18,114,14,ES_AUTOHSCROLL
  354.     PUSHBUTTON      "...",IDC_BUT_PROCESS,163,18,16,14
  355.     DEFPUSHBUTTON   "OK",IDOK,71,45,50,14
  356.     PUSHBUTTON      "Cancel",IDCANCEL,129,45,50,14
  357.     LTEXT           "Process:",IDC_PROCESS_TEXT,13,21,32,8
  358. END
  359.  
  360. IDD_PROCESS_BROWSER DIALOG DISCARDABLE  0, 0, 128, 167
  361. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  362. CAPTION "Select process"
  363. FONT 8, "MS Sans Serif"
  364. BEGIN
  365.     LISTBOX         IDC_PROCESS_LIST,7,7,114,136,LBS_SORT | 
  366.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | 
  367.                     WS_TABSTOP
  368.     DEFPUSHBUTTON   "OK",IDOK,7,146,50,14
  369.     PUSHBUTTON      "Cancel",IDCANCEL,71,146,50,14
  370. END
  371.  
  372. IDD_WOL DIALOG DISCARDABLE  0, 0, 196, 95
  373. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  374. CAPTION "Wake On LAN"
  375. FONT 8, "MS Sans Serif"
  376. BEGIN
  377.     CONTROL         "IPAddress1",IDC_IP_ADDRESS,"SysIPAddress32",WS_TABSTOP,
  378.                     58,7,100,15
  379.     CONTROL         "IPAddress1",IDC_SUBNET_MASK,"SysIPAddress32",WS_TABSTOP,
  380.                     58,27,100,15
  381.     EDITTEXT        IDC_MAC_ADDRESS,58,47,100,14,ES_AUTOHSCROLL
  382.     PUSHBUTTON      "Lookup",IDC_BUT_LOOKUP,159,47,30,14
  383.     DEFPUSHBUTTON   "OK",IDOK,85,74,50,14
  384.     PUSHBUTTON      "Cancel",IDCANCEL,139,74,50,14
  385.     LTEXT           "IP Address:",IDC_IP_ADDRESS_TEXT,7,10,37,8
  386.     LTEXT           "Subnet mask:",IDC_SUBNET_MASK_TEXT,7,30,44,8
  387.     LTEXT           "MAC Address:",IDC_MAC_ADDRESS_TEXT,7,50,45,8
  388. END
  389.  
  390. IDD_REMOTE_CONTROL DIALOG DISCARDABLE  0, 0, 167, 68
  391. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  392. CAPTION "Remote Control"
  393. FONT 8, "MS Sans Serif"
  394. BEGIN
  395.     EDITTEXT        IDC_REMOTE_PORT,58,7,40,14,ES_AUTOHSCROLL | ES_NUMBER
  396.     EDITTEXT        IDC_REMOTE_PASSWORD,58,24,102,14,ES_PASSWORD | 
  397.                     ES_AUTOHSCROLL
  398.     DEFPUSHBUTTON   "OK",IDOK,51,47,50,14
  399.     PUSHBUTTON      "Cancel",IDCANCEL,110,47,50,14
  400.     LTEXT           "Port number:",IDC_REMOTE_PORT_TEXT,7,9,41,8
  401.     LTEXT           "Password:",IDC_REMOTE_PASSWORD_TEXT,7,26,34,8
  402. END
  403.  
  404.  
  405. /////////////////////////////////////////////////////////////////////////////
  406. //
  407. // DESIGNINFO
  408. //
  409.  
  410. #ifdef APSTUDIO_INVOKED
  411. GUIDELINES DESIGNINFO DISCARDABLE 
  412. BEGIN
  413.     IDD_WARNING, DIALOG
  414.     BEGIN
  415.         LEFTMARGIN, 7
  416.         RIGHTMARGIN, 179
  417.         TOPMARGIN, 7
  418.         BOTTOMMARGIN, 110
  419.     END
  420.  
  421.     IDD_SCHEDULE, DIALOG
  422.     BEGIN
  423.         LEFTMARGIN, 7
  424.         RIGHTMARGIN, 268
  425.         TOPMARGIN, 7
  426.         BOTTOMMARGIN, 173
  427.     END
  428.  
  429.     IDD_WARNING_MESSAGE, DIALOG
  430.     BEGIN
  431.         LEFTMARGIN, 7
  432.         RIGHTMARGIN, 226
  433.         TOPMARGIN, 7
  434.         BOTTOMMARGIN, 115
  435.     END
  436.  
  437.     IDD_REMOTE, DIALOG
  438.     BEGIN
  439.         LEFTMARGIN, 7
  440.         RIGHTMARGIN, 224
  441.         TOPMARGIN, 7
  442.         BOTTOMMARGIN, 149
  443.     END
  444.  
  445.     IDD_PROGRAM, DIALOG
  446.     BEGIN
  447.         LEFTMARGIN, 7
  448.         RIGHTMARGIN, 212
  449.         TOPMARGIN, 7
  450.         BOTTOMMARGIN, 64
  451.     END
  452.  
  453.     IDD_PROCESS, DIALOG
  454.     BEGIN
  455.         LEFTMARGIN, 7
  456.         RIGHTMARGIN, 179
  457.         TOPMARGIN, 7
  458.         BOTTOMMARGIN, 59
  459.     END
  460.  
  461.     IDD_PROCESS_BROWSER, DIALOG
  462.     BEGIN
  463.         LEFTMARGIN, 7
  464.         RIGHTMARGIN, 121
  465.         TOPMARGIN, 7
  466.         BOTTOMMARGIN, 160
  467.     END
  468.  
  469.     IDD_WOL, DIALOG
  470.     BEGIN
  471.         LEFTMARGIN, 7
  472.         RIGHTMARGIN, 189
  473.         TOPMARGIN, 7
  474.         BOTTOMMARGIN, 88
  475.     END
  476.  
  477.     IDD_REMOTE_CONTROL, DIALOG
  478.     BEGIN
  479.         LEFTMARGIN, 7
  480.         RIGHTMARGIN, 160
  481.         TOPMARGIN, 7
  482.         BOTTOMMARGIN, 61
  483.     END
  484. END
  485. #endif    // APSTUDIO_INVOKED
  486.  
  487.  
  488. /////////////////////////////////////////////////////////////////////////////
  489. //
  490. // 24
  491. //
  492.  
  493. 1                       24      MOVEABLE PURE   "poweroff.exe.manifest"
  494.  
  495. /////////////////////////////////////////////////////////////////////////////
  496. //
  497. // Icon
  498. //
  499.  
  500. // Icon with lowest ID value placed first to ensure application icon
  501. // remains consistent on all systems.
  502. IDI_POWEROFF            ICON    DISCARDABLE     "ipoweroff_new.ico"
  503. IDI_POWEROFF_SMALL      ICON    DISCARDABLE     "ipoweroff_small.ico"
  504.  
  505. /////////////////////////////////////////////////////////////////////////////
  506. //
  507. // Menu
  508. //
  509.  
  510. IDR_QUICKMENU MENU DISCARDABLE 
  511. BEGIN
  512.     POPUP "Action"
  513.     BEGIN
  514.         MENUITEM "Restore",                     IDC_RESTORE
  515.         MENUITEM SEPARATOR
  516.         MENUITEM "Logoff",                      IDC_LOGOFF
  517.         MENUITEM "Reboot",                      IDC_REBOOT
  518.         MENUITEM "Shutdown",                    IDC_SHUTDOWN
  519.         MENUITEM "Poweroff",                    IDC_POWEROFF
  520.         MENUITEM "Standby",                     IDC_STANDBY
  521.         MENUITEM "Hibernate",                   IDC_Q_HIBERNATE
  522.         MENUITEM "Lock",                        IDC_Q_LOCK
  523.         MENUITEM "Monitor off",                 IDC_Q_MONITOR_OFF
  524.         MENUITEM SEPARATOR
  525.         MENUITEM "Cancel pending action",       IDC_CANCEL
  526.         MENUITEM SEPARATOR
  527.         MENUITEM "Exit",                        IDC_EXIT
  528.     END
  529. END
  530.  
  531. IDR_POWEROFF MENU DISCARDABLE 
  532. BEGIN
  533.     POPUP "&File"
  534.     BEGIN
  535.         MENUITEM "&Save settings",              IDC_SAVE
  536.         MENUITEM "&Load settings",              IDC_LOAD_SETTINGS
  537.         MENUITEM "&Remove settings",            IDC_REMOVE_SETTINGS
  538.         MENUITEM SEPARATOR
  539.         MENUITEM "&Exit",                       IDC_CANCEL
  540.     END
  541.     POPUP "&Service"
  542.     BEGIN
  543.         MENUITEM "&Create service",             ID_CREATESERVICE
  544.         MENUITEM "&Remove service",             IDC_REMOVE_SERVICE
  545.         MENUITEM SEPARATOR
  546.         MENUITEM "&Save settings to service",   ID_SAVESETTINGSTOSERVICE
  547.         MENUITEM "&Load settings from service", ID_LOADSETTINGSFROMSERVICE
  548.     END
  549. END
  550.  
  551. #endif    // Dutch (Belgium) resources
  552. /////////////////////////////////////////////////////////////////////////////
  553.  
  554.  
  555.  
  556. #ifndef APSTUDIO_INVOKED
  557. /////////////////////////////////////////////////////////////////////////////
  558. //
  559. // Generated from the TEXTINCLUDE 3 resource.
  560. //
  561.  
  562.  
  563. /////////////////////////////////////////////////////////////////////////////
  564. #endif    // not APSTUDIO_INVOKED
  565.  
  566.