[2] | 1 | /***
|
---|
| 2 | This file belongs to the Gotcha! distribution.
|
---|
| 3 | Copyright (C) 1998-2002 Thorsten Thielen <thth@c2226.de>
|
---|
| 4 |
|
---|
| 5 | This program is free software; you can redistribute it and/or modify
|
---|
| 6 | it under the terms of the GNU General Public License as published by
|
---|
| 7 | the Free Software Foundation; either version 2 of the License, or
|
---|
| 8 | (at your option) any later version.
|
---|
| 9 |
|
---|
| 10 | This program is distributed in the hope that it will be useful,
|
---|
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 13 | GNU General Public License for more details.
|
---|
| 14 |
|
---|
| 15 | You should have received a copy of the GNU General Public License
|
---|
| 16 | along with this program; if not, write to the Free Software
|
---|
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
| 18 | ***/
|
---|
| 19 |
|
---|
| 20 | #define DLL_ID 1
|
---|
| 21 |
|
---|
| 22 | #define ID_DLG_MAIN 1
|
---|
| 23 | #define ID_DLG_ABOUT 2
|
---|
| 24 | #define ID_DLG_FILE 10000
|
---|
| 25 | #define ID_DLG_SETTINGS 3
|
---|
| 26 | #define ID_DLG_SETTINGSPAGE1 4
|
---|
| 27 | #define ID_DLG_SETTINGSPAGE2 5
|
---|
| 28 | #define ID_DLG_SETTINGSPAGE3 6
|
---|
| 29 | #define ID_DLG_SETTINGSPAGE4 7
|
---|
[27] | 30 | #define SM2_DIALOG 8
|
---|
| 31 | #define ID_DLG_SETTINGSPAGE0 9
|
---|
[2] | 32 |
|
---|
| 33 | #define WID_NIL 0
|
---|
| 34 | #define WID_PB_SCREEN 1
|
---|
| 35 | // WID_SCREENREGION had to be redefined because of DID_CANCEL
|
---|
| 36 | #define WID_PB_WINDOW 3
|
---|
| 37 | #define WID_PB_WINDOWINTERIOR 4
|
---|
| 38 | #define WID_CB_HIDEWINDOW 5
|
---|
| 39 | #define WID_CB_DELAYEDCAPTURE 6
|
---|
| 40 | #define WID_TEST 7
|
---|
| 41 | #define WID_RB_CLIPBOARD 8
|
---|
| 42 | #define WID_RB_FILE 9
|
---|
| 43 | #define WID_PB_ABOUT 10
|
---|
| 44 | #define WID_CB_DELAYCOUNTDOWN 11
|
---|
| 45 | #define WID_SB_DELAYTIME 12
|
---|
| 46 | #define WID_CB_SSWENABLE 13
|
---|
| 47 | #define WID_CB_SSWHIDE 14
|
---|
| 48 | #define WID_CB_SSWALWAYSONTOP 15
|
---|
| 49 | #define WID_SSWSCREEN 16
|
---|
| 50 | #define WID_SSWSCREENREGION 17
|
---|
| 51 | #define WID_SSWWINDOW 18
|
---|
| 52 | #define WID_SSWWINDOWINT 19
|
---|
| 53 | #define WID_E_NUMSAVEDIR 20
|
---|
| 54 | #define WID_E_FORCESAVEFILE 21
|
---|
| 55 | #define WID_PB_OK 22
|
---|
| 56 | #define WID_PB_UNDO 23
|
---|
| 57 | #define WID_PB_SETTINGS 24
|
---|
| 58 | #define WID_PB_SNAPSHOT 25
|
---|
| 59 | #define WID_SB_SERIALTIME 26
|
---|
| 60 | #define WID_CB_SERIALCAPTURE 27
|
---|
| 61 | #define WID_PB_SCREENREGION 28
|
---|
| 62 | #define WID_RB_FSSPROMPT 29
|
---|
| 63 | #define WID_RB_FSSNUMFILES 30
|
---|
| 64 | #define WID_RB_FSSFORCEFILE 31
|
---|
| 65 | #define WID_CB_DOSOUND 32
|
---|
| 66 | #define WID_NB_SETTINGS 33
|
---|
| 67 | #define WID_RB_BMF12 34
|
---|
| 68 | #define WID_RB_BMF16 35
|
---|
| 69 | #define WID_RB_BMF20 36
|
---|
| 70 | #define WID_CB_IDLEPRIORITY 37
|
---|
| 71 | #define WID_CAPTURETYPE 38
|
---|
| 72 | #define WID_LB_LANGUAGES 39
|
---|
| 73 | #define WID_LB_LANGUAGESHELP 40
|
---|
| 74 | #define WID_ST_LANGNOTE 41
|
---|
| 75 | #define WID_PB_HELP 42
|
---|
| 76 | #define WID_LB_FILEFORMAT 43
|
---|
| 77 | #define WID_PB_EXIT 44
|
---|
[27] | 78 | #define WID_PB_SETCAPTURETYPE 45
|
---|
[2] | 79 |
|
---|
| 80 | #define IDM_SSWPOPUP 1
|
---|
| 81 |
|
---|
| 82 | #define WID_CAPTURETYPE 38
|
---|
| 83 |
|
---|
| 84 | #define WID_CB_AUTOADDEXTENSION 10001
|
---|
| 85 | #define WID_CB_CONFIRMOVERWRITE 10002
|
---|
| 86 |
|
---|
| 87 | #define UM_PREPARECAPTURE WM_USER+1000
|
---|
| 88 | #define UM_WINDOWHIDDEN WM_USER+1001
|
---|
| 89 | #define UM_SELECTWINDOW WM_USER+1002
|
---|
| 90 | #define UM_WINDOWSELECTED WM_USER+1003
|
---|
| 91 | #define UM_CAPTURE WM_USER+1004
|
---|
| 92 | #define UM_ADJUSTSETTINGS WM_USER+1005
|
---|
| 93 | #define UM_UNDO WM_USER+1006
|
---|
| 94 | #define UM_SSWHIDDEN WM_USER+1007
|
---|
| 95 | #define UM_CAPTURE2 WM_USER+1008
|
---|
| 96 | #define UM_COUNTDOWN WM_USER+1009
|
---|
| 97 | #define UM_CLEANUP WM_USER+1010
|
---|
| 98 | #define UM_STARTCAPTURE WM_USER+1011
|
---|
| 99 | #define UM_STOPCAPTURE WM_USER+1012
|
---|
| 100 | #define UM_SETTINGS2DIALOG WM_USER+1013
|
---|
| 101 | #define UM_ADJUST WM_USER+1014
|
---|
| 102 | #define UM_ABORT WM_USER+1015
|
---|
| 103 |
|
---|
| 104 | #define SEI_SAVEFILE 1
|
---|
| 105 | #define SEI_FORCESAVEFILE 2
|
---|
| 106 | #define SEI_SAVESTYLE 3
|
---|
| 107 | #define SEI_FILEFORMAT 4
|
---|
| 108 | #define SEI_FILESAVESTYLE 5
|
---|
| 109 | #define SEI_NUMSAVEDIR 6
|
---|
| 110 | #define SEI_HIDEWINDOW 7
|
---|
| 111 | #define SEI_AUTOADDEXTENSION 8
|
---|
| 112 | #define SEI_CONFIRMOVERWRITE 9
|
---|
| 113 | #define SEI_DOSOUND 10
|
---|
| 114 | #define SEI_DELAYEDCAPTURE 11
|
---|
| 115 | #define SEI_DELAYCOUNTDOWN 12
|
---|
| 116 | #define SEI_DELAYTIME 13
|
---|
| 117 | #define SEI_SERIALCAPTURE 14
|
---|
| 118 | #define SEI_SERIALTIME 15
|
---|
| 119 | #define SEI_SNAPSHOTWINDOW 16
|
---|
| 120 | #define SEI_SSWCAPTURETYPE 17
|
---|
| 121 | #define SEI_SSWHIDE 18
|
---|
| 122 | #define SEI_SSWALWAYSONTOP 19
|
---|
| 123 | #define SEI_IDLEPRIORITY 20
|
---|
| 124 | #define SEI_SWP 21
|
---|
| 125 | #define SEI_US 22
|
---|
| 126 | #define SEI_SWPSSW 23
|
---|
| 127 | #define SEI_USSSW 24
|
---|
| 128 | #define SEI_LANGUAGE 25
|
---|
| 129 | #define SEI_LANGUAGEHELP 26
|
---|
| 130 | #define SEI_UPDATE178DONE 27
|
---|
| 131 |
|
---|
| 132 | #define IDS_QUIETMODE 1
|
---|
| 133 | //#define IDS_QUIETMODE 2
|
---|
| 134 | #define IDS_SETTINGS 3
|
---|
| 135 | #define IDS_PRODUCTINFORMATION 4
|
---|
| 136 | #define IDS_HEADER_ERROR 5
|
---|
| 137 | #define IDS_ERROR_COULDNOTRETRIEVEHEADER 6
|
---|
| 138 | #define IDS_ERROR_COULDNOTGETBITMAPBITS 7
|
---|
| 139 | #define IDS_ERROR_COULDNOTOPENFILE 8
|
---|
| 140 | #define IDS_ERROR_COULDNOTWRITEFILETYPEEA 9
|
---|
| 141 | #define IDS_SAVESCREENSHOTTO 10
|
---|
| 142 | #define IDS_HEADER_WARNING 11
|
---|
| 143 | #define IDS_FILEEXISTSOVERWRITE 12
|
---|
| 144 | #define IDS_ERROR_INIFILEWRONGVERSION 13
|
---|
| 145 | #define IDS_ERROR_INIFILENOTOPEN 14
|
---|
| 146 | #define IDS_ERROR_HELPERHEADING 15
|
---|
| 147 | #define IDS_ERROR_COULDNOTINITHELP 16
|
---|
| 148 | #define IDS_ERROR_COULDNOTINITHELPFILE 17
|
---|
| 149 | #define IDS_PAGESAVE 18
|
---|
| 150 | #define IDS_PAGESNAPSHOT 19
|
---|
[55] | 151 | #define IDS_CAPTURE 20
|
---|
[2] | 152 | #define IDS_PAGELANGUAGE 21
|
---|
[11] | 153 | #define IDS_BMF_JPG 22
|
---|
| 154 | #define IDS_BMF_PNG 23
|
---|
| 155 | #define IDS_BMF_OS20 24
|
---|
| 156 | #define IDS_BMF_TIF 25
|
---|
| 157 | #define IDS_BMF_TGA 26
|
---|
| 158 | #define IDS_BMF_PCX 27
|
---|
| 159 | #define IDS_BMF_GIF 28
|
---|
| 160 | #define IDS_BMF_PBM 29
|
---|
| 161 | #define IDS_BMF_JP2 30
|
---|
[21] | 162 | #define IDS_BMF_DIB 31
|
---|
[2] | 163 | #define IDS_SNAPLABEL 34
|
---|
| 164 | #define IDS_GENERALHELP 35
|
---|
[27] | 165 | #define IDS_MAINWIN 36
|
---|
[55] | 166 | #define IDS_OK 37
|
---|
| 167 | #define IDS_CANCEL 38
|
---|
| 168 | #define IDS_WISHCONTINUE 39
|
---|
[89] | 169 | #define IDS_ERROR_ALREADYRUNNING 40
|
---|
| 170 | #define IDS_ERROR_ALREADYRUNNINGMSG 41
|
---|
[2] | 171 |
|
---|
| 172 | #define MAIN_HELP_TABLE 1
|
---|
| 173 |
|
---|
| 174 | #define SUBTABLE_MAIN 1
|
---|
| 175 | #define SUBTABLE_SETTINGS 2
|
---|
| 176 | #define SUBTABLE_SNAPSHOT 3
|
---|
| 177 |
|
---|
| 178 | #define PANEL_KEYSHELP 1
|
---|
| 179 | #define PANEL_MAIN 2
|
---|
| 180 | #define PANEL_SNAPSHOT 3
|
---|
| 181 | #define PANEL_SETTINGS 4
|
---|