summaryrefslogtreecommitdiff
path: root/Shutdown/Shutdown.rc
blob: 8b65ba7ed810e01addea320d16a1e68d734881b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""winres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "1 TYPELIB ""Shutdown.tlb""\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 2,5,0,1
 PRODUCTVERSION 2,5,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "Part of the Night Security Program\0"
            VALUE "CompanyName", "The Family (Thailand)\0"
            VALUE "FileDescription", "Night Security (Shutdown Module)\0"
            VALUE "FileVersion", "2, 5, 0, 1\0"
            VALUE "InternalName", "Night Security Shutdown\0"
            VALUE "LegalCopyright", "Copyright (C) 1998 - 1999, The Family (Thailand)\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OLESelfRegister", "\0"
            VALUE "OriginalFilename", "Shutdown.exe\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "Night Security 2.5\0"
            VALUE "ProductVersion", "2, 5, 0, 1\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//

IDR_Shutdown            REGISTRY MOVEABLE PURE  "Shutdown.rgs"

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_CHECKS              BITMAP  DISCARDABLE     "res\\bitmap1.bmp"
IDB_ERRORS              BITMAP  DISCARDABLE     "res\\checks1.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ITEMDLG DIALOG DISCARDABLE  0, 0, 169, 119
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
    WS_SYSMENU
CAPTION "Secure Shutdown"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Cancel",IDCANCEL,117,98,45,14
    CONTROL         "List1",IDC_ITEMS,"SysListView32",LVS_REPORT | 
                    LVS_SINGLESEL | LVS_NOLABELWRAP | LVS_NOCOLUMNHEADER | 
                    LVS_NOSORTHEADER,32,7,130,83
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,6,92,156,1
    ICON            IDR_NIGHTSEC,IDC_STATIC,6,7,20,20
END

IDD_LOG DIALOGEX 0, 0, 330, 158
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Secure Shutdown Errors"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Hide",ID_HIDE,281,6,42,14
    CONTROL         "List1",IDC_ERROR_LOG,"SysListView32",LVS_REPORT | 
                    LVS_AUTOARRANGE | LVS_NOSORTHEADER | WS_TABSTOP,7,26,316,
                    125,WS_EX_CLIENTEDGE
    LTEXT           "There were errors during the Shutdown process.",
                    IDC_STATIC,7,6,160,18
    CONTROL         "",IDC_MINSIZE,"Static",SS_GRAYRECT | NOT WS_VISIBLE,0,0,
                    272,119
    PUSHBUTTON      "Save",ID_SAVE,234,6,42,14
END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\Night Security Shutdown.ico"
IDR_NIGHTSEC            ICON    DISCARDABLE     "res\\Night Security Stub.ico"
IDI_ERR                 ICON    DISCARDABLE     "res\\icon1.ico"

/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ITEMDLG, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 162
        TOPMARGIN, 7
        BOTTOMMARGIN, 112
    END

    IDD_LOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 323
        TOPMARGIN, 6
        BOTTOMMARGIN, 151
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_ERROR_MENU MENU DISCARDABLE 
BEGIN
    POPUP "Error"
    BEGIN
        MENUITEM "Retry",                       ID_ERROR_RETRY, GRAYED
        MENUITEM "Fix",                         ID_ERROR_FIX, GRAYED
        MENUITEM "Clear",                       ID_ERROR_DELETE
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_PROJNAME            "Shutdown"
    IDS_LOGDLG_DESC         "LogDlg Class"
    IDS_ABOUTBOX            "&About Night Security Shutdown..."
    IDS_BATCHFILENAME       "DOSmode.bat"
    IDS_STARTSECTION        "REM   *** START *** (Night Security Additions Start Here)\r\nREM   DO NOT REMOVE OR MODIFY THE ABOVE LINE\r\nREM   ADDITIONS WILL GO TO THE BOTTOM OF THIS BATCH FILE IF NOT FOUND\r\n\r\n"
    IDS_BATCHFILEPIF        "DOSmode.pif"
    IDS_ENDSECTION          "\r\n\r\nREM   DO NOT REMOVE OR MODIFY THE LINE BELOW\r\nREM   ANYTHING BELOW START WILL BE REMOVED IF NOT FOUND\r\nREM   *** END *** (Night Security Additions End Here)\r\n"
    IDS_STARTSEARHTEXT      "*** START ***"
    IDS_ENDSEARCHTEXT       "*** END ***"
    IDS_BATCHFILEPIF_NT     "DOSmode.bat"
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "Shutdown.tlb"

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED