1 /*********************************************************************
3 * File : $Source: /cvsroot/ijbswa/current/w32.rc,v $
5 * Purpose : Windows GUI resource script.
7 * Copyright : Written by and Copyright (C) 2001 the SourceForge
8 * IJBSWA team. http://ijbswa.sourceforge.net
10 * Based on the Internet Junkbuster originally written
11 * by and Copyright (C) 1997 Anonymous Coders and
12 * Junkbusters Corporation. http://www.junkbusters.com
14 * This program is free software; you can redistribute it
15 * and/or modify it under the terms of the GNU General
16 * Public License as published by the Free Software
17 * Foundation; either version 2 of the License, or (at
18 * your option) any later version.
20 * This program is distributed in the hope that it will
21 * be useful, but WITHOUT ANY WARRANTY; without even the
22 * implied warranty of MERCHANTABILITY or FITNESS FOR A
23 * PARTICULAR PURPOSE. See the GNU General Public
24 * License for more details.
26 * The GNU General Public License should be included with
27 * this file. If not, you can view it at
28 * http://www.gnu.org/copyleft/gpl.html
29 * or write to the Free Software Foundation, Inc., 59
30 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 * Revision 1.4 2001/05/26 00:28:36 jongfoster
35 * Automatic reloading of config file.
36 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
37 * Most of the global variables have been moved to a new
38 * struct configuration_spec, accessed through csp->config->globalname
39 * Most of the globals remaining are used by the Win32 GUI.
41 * Revision 1.3 2001/05/25 22:33:40 jongfoster
44 * Revision 1.2 2001/05/20 01:21:20 jongfoster
45 * Version 2.9.4 checkin.
46 * - Merged popupfile and cookiefile, and added control over PCRS
47 * filtering, in new "permissionsfile".
48 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
49 * file error you now get a message box (in the Win32 GUI) rather
50 * than the program exiting with no explanation.
51 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
53 * - Removed tabs from "config"
54 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
55 * - Bumped up version number.
57 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
58 * Initial import of version 2.9.3 source tree
61 *********************************************************************/
71 /****************************************************************************
72 * Language-neutral resources
73 ****************************************************************************/
75 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
77 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
78 #pragma code_page(1252)
84 * Icon with lowest ID value placed first to ensure application icon
85 * remains consistent on all systems.
87 IDI_JUNKBUSTER ICON DISCARDABLE "icons/junkbust.ico"
88 IDI_JUNKBUSTER1 ICON DISCARDABLE "icons/ico00001.ico"
89 IDI_JUNKBUSTER2 ICON DISCARDABLE "icons/ico00002.ico"
90 IDI_JUNKBUSTER3 ICON DISCARDABLE "icons/ico00003.ico"
91 IDI_JUNKBUSTER4 ICON DISCARDABLE "icons/ico00004.ico"
92 IDI_JUNKBUSTER5 ICON DISCARDABLE "icons/ico00005.ico"
93 IDI_JUNKBUSTER6 ICON DISCARDABLE "icons/ico00006.ico"
94 IDI_JUNKBUSTER7 ICON DISCARDABLE "icons/ico00007.ico"
95 IDI_JUNKBUSTER8 ICON DISCARDABLE "icons/ico00008.ico"
96 IDI_IDLE ICON DISCARDABLE "icons/idle.ico"
98 #endif /* Neutral resources */
101 /****************************************************************************
102 * English (U.S.) resources
103 ****************************************************************************/
105 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
107 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
108 #pragma code_page(1252)
115 IDR_TRAYMENU MENU DISCARDABLE
119 MENUITEM "E&xit JunkBuster", ID_FILE_EXIT
123 MENUITEM "&Junkbuster...", ID_TOOLS_EDITJUNKBUSTER
125 MENUITEM "&Blockers...", ID_TOOLS_EDITBLOCKERS
126 MENUITEM "&Permissions...", ID_TOOLS_EDITPERMISSIONS
127 MENUITEM "&Forward...", ID_TOOLS_EDITFORWARD
129 MENUITEM "&Access Control Lists...", ID_TOOLS_EDITACLS
130 #endif /* def ACL_FILES */
131 #ifdef USE_IMAGE_LIST
132 MENUITEM "&Images...", ID_TOOLS_EDITIMAGE
133 #endif /* def USE_IMAGE_LIST */
135 MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE
136 #endif /* def PCRS */
138 MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
139 #endif /* def TRUST_FILES */
143 MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED
145 MENUITEM "Show &JunkBuster Window", ID_SHOWWINDOW
149 IDR_LOGVIEW MENU DISCARDABLE
153 MENUITEM "E&xit", ID_FILE_EXIT
157 MENUITEM "Copy", ID_EDIT_COPY
161 MENUITEM "&Clear Log", ID_VIEW_CLEARLOG
163 MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
164 MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
165 MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
166 MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
171 MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED
174 MENUITEM "&Junkbuster...", ID_TOOLS_EDITJUNKBUSTER
176 MENUITEM "&Blockers...", ID_TOOLS_EDITBLOCKERS
177 MENUITEM "&Permissions...", ID_TOOLS_EDITPERMISSIONS
178 MENUITEM "&Forward...", ID_TOOLS_EDITFORWARD
180 MENUITEM "&Access Control Lists...",ID_TOOLS_EDITACLS
181 #endif /* def ACL_FILES */
182 #ifdef USE_IMAGE_LIST
183 MENUITEM "&Images...", ID_TOOLS_EDITIMAGE
184 #endif /* def USE_IMAGE_LIST */
186 MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE
187 #endif /* def PCRS */
189 MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
190 #endif /* def TRUST_FILES */
194 MENUITEM "Junkbuster &FAQ", ID_HELP_FAQ
195 MENUITEM "Junkbuster &Manual", ID_HELP_MANUAL
196 MENUITEM "GNU &General Public Licence", ID_HELP_GPL
198 MENUITEM "Junkbuster Status...", ID_HELP_STATUS
200 MENUITEM "About Junkbuster...", ID_HELP_ABOUTJUNKBUSTER
204 IDR_POPUP_SELECTION MENU DISCARDABLE
208 MENUITEM "&Copy", ID_EDIT_COPY
217 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
219 "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
227 * Icon with lowest ID value placed first to ensure application icon
228 * remains consistent on all systems.
230 IDI_DENYRULE ICON DISCARDABLE "icons/denyrule.ico"
231 IDI_ALLOWRULE ICON DISCARDABLE "icons/icon1.ico"
237 IDD_RULES DIALOG DISCARDABLE 0, 0, 239, 225
238 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
240 FONT 8, "MS Sans Serif"
242 GROUPBOX "New Rule",IDC_STATIC,5,5,230,55
243 LTEXT "For:",IDC_STATIC,10,15,13,8
244 EDITTEXT IDC_NEW,10,25,220,12,ES_AUTOHSCROLL
245 COMBOBOX IDC_ACTION,10,40,75,37,CBS_DROPDOWNLIST | CBS_SORT |
246 WS_VSCROLL | WS_TABSTOP
247 PUSHBUTTON "C&reate!",IDC_CREATE,90,40,50,14
248 GROUPBOX "Rules",IDC_STATIC,5,65,230,135
249 CONTROL "List1",IDC_RULES,"SysListView32",LVS_REPORT |
250 LVS_SHOWSELALWAYS | LVS_EDITLABELS | WS_BORDER |
251 WS_TABSTOP,10,75,220,100
252 PUSHBUTTON "Move &Up",IDC_MOVEUP,10,180,50,14,WS_DISABLED
253 PUSHBUTTON "Move &Down",IDC_MOVEDOWN,65,180,50,14,WS_DISABLED
254 PUSHBUTTON "&Delete",IDC_DELETE,120,180,50,14,WS_DISABLED
255 PUSHBUTTON "&Save",IDC_SAVE,130,205,50,14
256 PUSHBUTTON "&Cancel",IDCANCEL,185,205,50,14
264 #ifdef APSTUDIO_INVOKED
265 GUIDELINES DESIGNINFO DISCARDABLE
275 #endif // APSTUDIO_INVOKED
282 STRINGTABLE DISCARDABLE
284 IDS_NEW_BLOCKER "Create rule for ""%s""..."
286 #endif /* def WIN_GUI_EDIT */
288 #endif /* English (U.S.) resources */