1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "ApacheMonitor.h"
21 IDI_APSRVMON ICON DISCARDABLE "ApacheMonitor.ico"
22 IDI_ICOSTOP ICON DISCARDABLE "apstop.ico"
23 IDI_ICORUN ICON DISCARDABLE "aprun.ico"
25 IDD_DLGSERVICES DIALOGEX 0, 0, 350, 188
26 STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_MINIMIZEBOX | WS_VISIBLE |
27 WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU
28 EXSTYLE WS_EX_CONTROLPARENT
29 CAPTION "Apache Service Monitor"
30 FONT 8, "MS Sans Serif"
32 DEFPUSHBUTTON "&OK",IDOK,298,49,50,14
33 LTEXT "Service St&atus :",IDC_SSTATUS,3,40,272,8
34 LISTBOX IDL_SERVICES,2,49,285,73,LBS_OWNERDRAWFIXED |
35 LBS_HASSTRINGS | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT |
36 LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
37 LISTBOX IDL_STDOUT,2,124,285,51,LBS_NOINTEGRALHEIGHT |
38 LBS_DISABLENOSCROLL | LBS_NOSEL | WS_VSCROLL
39 PUSHBUTTON "&Start",IDC_SSTART,298,65,50,14
40 PUSHBUTTON "S&top",IDC_SSTOP,298,81,50,14
41 PUSHBUTTON "&Restart",IDC_SRESTART,298,97,50,14
42 PUSHBUTTON "Ser&vices",IDC_SMANAGER,298,113,50,14
43 CONTROL IDB_BMPHEADER,IDC_STATIC,"Static",SS_BITMAP,0,0,349,38
44 PUSHBUTTON "&Connect",IDC_SCONNECT,298,129,50,14
45 PUSHBUTTON "&Disconnect",IDC_SDISCONN,298,145,50,14
46 PUSHBUTTON "E&xit",IDC_SEXIT,298,161,50,14
49 IDD_DLGCONNECT DIALOGEX 0, 0, 240, 54
50 STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_VISIBLE | WS_CLIPCHILDREN |
51 WS_CAPTION | WS_SYSMENU
52 EXSTYLE WS_EX_CONTROLPARENT
53 CAPTION "Connect To A Remote Computer"
54 FONT 8, "MS Sans Serif"
56 LTEXT "Computer &Name:",IDC_LREMOTE,7,4,155,8
57 EDITTEXT IDC_COMPUTER,7,14,169,14,ES_AUTOHSCROLL
58 DEFPUSHBUTTON "&OK",IDOK,183,14,50,14
59 PUSHBUTTON "&Cancel",IDCANCEL,183,34,50,14
60 PUSHBUTTON "&Browse",IDC_LBROWSE,7,34,50,14
63 IDB_BMPSTOP BITMAP DISCARDABLE "sstop.bmp"
64 IDB_BMPRUN BITMAP DISCARDABLE "srun.bmp"
65 IDB_BMPHEADER BITMAP DISCARDABLE "apache_header.bmp"
67 STRINGTABLE DISCARDABLE
69 IDS_APMONITORTITLE "Apache Service Monitor"
70 IDS_APMONITORCLASS "ApacheServiceMonitorClass"
73 STRINGTABLE DISCARDABLE
75 IDS_MSG_APPRUNNING "Apache monitor is already started"
77 IDS_MSG_RUNNINGALL "Running all Apache services"
78 IDS_MSG_RUNNING "Running %d of %d Apache services"
79 IDS_MSG_RUNNINGNONE "Running none of %d Apache services"
80 IDS_MSG_NOSERVICES "No services installed"
81 IDS_MSG_MNUSERVICES "Open &Services"
82 IDS_MSG_MNUSHOW "&Open Apache Monitor"
83 IDS_MSG_MNUEXIT "E&xit"
84 IDS_MSG_SRVSTART "The %s service is starting."
85 IDS_MSG_SRVSTARTED "The %s service has started."
86 IDS_MSG_SRVSTOP "The %s service is stopping."
87 IDS_MSG_SRVSTOPPED "The %s service has stopped."
88 IDS_MSG_SRVRESTART "The %s service is restarting."
89 IDS_MSG_SRVRESTARTED "The %s service has restarted."
90 IDS_MSG_SRVFAILED "The requested operation has failed!"
91 IDS_MSG_SSTART "&Start"
93 IDS_MSG_SRESTART "&Restart"
94 IDS_MSG_SERVICES "Ser&vices"
95 IDS_MSG_CONNECT "&Connect"
96 IDS_MSG_ECONNECT "Unable to connect to the remote registry on %s"