-rw-r--r-- | PumpKINDlg.cpp | 8 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 8 | ||||
-rw-r--r-- | pumpkin.rc | 10 |
4 files changed, 16 insertions, 12 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index 1e6d03f..0b3bf41 100644 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp | |||
@@ -1125,195 +1125,199 @@ CString tmp; | |||
1125 | } | 1125 | } |
1126 | 1126 | ||
1127 | void CXferSocket::TurnSlashes(CString& fn,BOOL bBack) | 1127 | void CXferSocket::TurnSlashes(CString& fn,BOOL bBack) |
1128 | { | 1128 | { |
1129 | ints = fn.Find(bBack?'/':'\\'); | 1129 | ints = fn.Find(bBack?'/':'\\'); |
1130 | while(s>=0){ | 1130 | while(s>=0){ |
1131 | fn.SetAt(s,bBack?'\\':'/'); | 1131 | fn.SetAt(s,bBack?'\\':'/'); |
1132 | s = fn.Find(bBack?'/':'\\'); | 1132 | s = fn.Find(bBack?'/':'\\'); |
1133 | } | 1133 | } |
1134 | } | 1134 | } |
1135 | 1135 | ||
1136 | CString CXferSocket::ApplyRoot(LPCTSTR fileName) | 1136 | CString CXferSocket::ApplyRoot(LPCTSTR fileName) |
1137 | { | 1137 | { |
1138 | ASSERT(m_Daddy); | 1138 | ASSERT(m_Daddy); |
1139 | CString fn = fileName; | 1139 | CString fn = fileName; |
1140 | CString rv = m_Daddy->m_TFTPRoot; | 1140 | CString rv = m_Daddy->m_TFTPRoot; |
1141 | if(rv.IsEmpty()) | 1141 | if(rv.IsEmpty()) |
1142 | rv = "."; | 1142 | rv = "."; |
1143 | if(rv[rv.GetLength()-1]!='\\') | 1143 | if(rv[rv.GetLength()-1]!='\\') |
1144 | rv+="\\"; | 1144 | rv+="\\"; |
1145 | while((!fn.IsEmpty()) && fn[0]=='\\') | 1145 | while((!fn.IsEmpty()) && fn[0]=='\\') |
1146 | fn=fn.Mid(1); | 1146 | fn=fn.Mid(1); |
1147 | rv+=fn; | 1147 | rv+=fn; |
1148 | return rv; | 1148 | return rv; |
1149 | } | 1149 | } |
1150 | 1150 | ||
1151 | void CPumpKINDlg::OnOptions() | 1151 | void CPumpKINDlg::OnOptions() |
1152 | { | 1152 | { |
1153 | CPropertySheet cps(IDS_TITLE_OPTIONS,this); | 1153 | CPropertySheet cps(IDS_TITLE_OPTIONS,this); |
1154 | CPropsServer server; | 1154 | CPropsServer server; |
1155 | CPropsNetwork network; | 1155 | CPropsNetwork network; |
1156 | CPropsSounds sounds; | 1156 | CPropsSounds sounds; |
1157 | 1157 | ||
1158 | server.m_RRQMode=m_RRQMode; | 1158 | server.m_RRQMode=m_RRQMode; |
1159 | server.m_TFTPRoot=m_TFTPRoot; | 1159 | server.m_TFTPRoot=m_TFTPRoot; |
1160 | server.m_TFTPSubdirs=m_bTFTPSubdirs; | 1160 | server.m_TFTPSubdirs=m_bTFTPSubdirs; |
1161 | server.m_WRQMode=m_WRQMode; | 1161 | server.m_WRQMode=m_WRQMode; |
1162 | server.m_PromptTimeOut=m_PromptTimeOut; | 1162 | server.m_PromptTimeOut=m_PromptTimeOut; |
1163 | 1163 | ||
1164 | network.m_ListenPort=m_ListenPort; | 1164 | network.m_ListenPort=m_ListenPort; |
1165 | network.m_SpeakPort=m_SpeakPort; | 1165 | network.m_SpeakPort=m_SpeakPort; |
1166 | network.m_TimeOut=m_TFTPTimeOut.GetTotalSeconds(); | 1166 | network.m_TimeOut=m_TFTPTimeOut.GetTotalSeconds(); |
1167 | network.m_BlockSize=m_BlockSize; | 1167 | network.m_BlockSize=m_BlockSize; |
1168 | 1168 | ||
1169 | sounds.m_Request = m_bnwRequest; | 1169 | sounds.m_Request = m_bnwRequest; |
1170 | sounds.m_Success = m_bnwSuccess; | 1170 | sounds.m_Success = m_bnwSuccess; |
1171 | sounds.m_Abort = m_bnwAbort; | 1171 | sounds.m_Abort = m_bnwAbort; |
1172 | 1172 | ||
1173 | cps.AddPage(&server); | 1173 | cps.AddPage(&server); |
1174 | cps.AddPage(&network); | 1174 | cps.AddPage(&network); |
1175 | cps.AddPage(&sounds); | 1175 | cps.AddPage(&sounds); |
1176 | if(cps.DoModal()==IDOK){ | 1176 | if(cps.DoModal()==IDOK){ |
1177 | m_RRQMode=server.m_RRQMode; | 1177 | m_RRQMode=server.m_RRQMode; |
1178 | m_TFTPRoot=server.m_TFTPRoot; | 1178 | m_TFTPRoot=server.m_TFTPRoot; |
1179 | m_bTFTPSubdirs=server.m_TFTPSubdirs; | 1179 | m_bTFTPSubdirs=server.m_TFTPSubdirs; |
1180 | m_WRQMode=server.m_WRQMode; | 1180 | m_WRQMode=server.m_WRQMode; |
1181 | m_PromptTimeOut=server.m_PromptTimeOut; | 1181 | m_PromptTimeOut=server.m_PromptTimeOut; |
1182 | 1182 | ||
1183 | m_ListenPort=network.m_ListenPort; | 1183 | m_ListenPort=network.m_ListenPort; |
1184 | m_SpeakPort=network.m_SpeakPort; | 1184 | m_SpeakPort=network.m_SpeakPort; |
1185 | m_TFTPTimeOut=CTimeSpan(network.m_TimeOut); | 1185 | m_TFTPTimeOut=CTimeSpan(network.m_TimeOut); |
1186 | m_BlockSize=network.m_BlockSize; | 1186 | m_BlockSize=network.m_BlockSize; |
1187 | 1187 | ||
1188 | m_bnwRequest = sounds.m_Request; | 1188 | m_bnwRequest = sounds.m_Request; |
1189 | m_bnwSuccess = sounds.m_Success; | 1189 | m_bnwSuccess = sounds.m_Success; |
1190 | m_bnwAbort = sounds.m_Abort; | 1190 | m_bnwAbort = sounds.m_Abort; |
1191 | } | 1191 | } |
1192 | } | 1192 | } |
1193 | 1193 | ||
1194 | BOOL CRRQSocket::ConfirmRequest() | 1194 | BOOL CRRQSocket::ConfirmRequest() |
1195 | { | 1195 | { |
1196 | CConfirmRRQDlg cd(NULL); | 1196 | CConfirmRRQDlg cd(NULL); |
1197 | cd.m_Daddy=this; | 1197 | cd.m_Daddy=this; |
1198 | cd.m_File=m_FileName; | 1198 | cd.m_File=m_FileName; |
1199 | cd.m_Host=inet_ntoa(m_Peer.sin_addr); | 1199 | cd.m_Host=inet_ntoa(m_Peer.sin_addr); |
1200 | if(cd.DoModal()==IDOK) | 1200 | if(cd.DoModal()==IDOK) |
1201 | return TRUE; | 1201 | return TRUE; |
1202 | return FALSE; | 1202 | return FALSE; |
1203 | } | 1203 | } |
1204 | 1204 | ||
1205 | CWRQSocket::CWRQSocket(CPumpKINDlg* daddy,LPCTSTR fileName,LPCTSTR type,SOCKADDR_IN *sin) | 1205 | CWRQSocket::CWRQSocket(CPumpKINDlg* daddy,LPCTSTR fileName,LPCTSTR type,SOCKADDR_IN *sin) |
1206 | : CXferSocket(daddy,fileName,type,sin) | 1206 | : CXferSocket(daddy,fileName,type,sin) |
1207 | { | 1207 | { |
1208 | state=stateNone; | 1208 | state=stateNone; |
1209 | m_ACK=0; | 1209 | m_ACK=0; |
1210 | m_LastSlack=0; | 1210 | m_LastSlack=0; |
1211 | m_bResume=FALSE; | 1211 | m_bResume=FALSE; |
1212 | } | 1212 | } |
1213 | 1213 | ||
1214 | BOOL CWRQSocket::Create(LPCTSTR localFile,LPCTSTR hostName) | 1214 | BOOL CWRQSocket::Create(LPCTSTR localFile,LPCTSTR hostName) |
1215 | { | 1215 | { |
1216 | if(!CAsyncSocket::Create(0,SOCK_DGRAM)) | 1216 | if(!CAsyncSocket::Create(0,SOCK_DGRAM)) |
1217 | return FALSE; | 1217 | return FALSE; |
1218 | ASSERT(m_Daddy); | 1218 | ASSERT(m_Daddy); |
1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); | 1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); |
1220 | m_Daddy->m_Xfers[m_hSocket]=this; | 1220 | m_Daddy->m_Xfers[m_hSocket]=this; |
1221 | TurnSlashes(m_FileName,TRUE); | ||
1222 | UpdateList(); | 1221 | UpdateList(); |
1223 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(m_FileName); | 1222 | CString lf; |
1223 | if(!localFile) { | ||
1224 | lf = m_FileName; | ||
1225 | TurnSlashes(lf,TRUE); | ||
1226 | } | ||
1227 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(lf); | ||
1224 | if(!localFile){// This is an incoming request.. | 1228 | if(!localFile){// This is an incoming request.. |
1225 | if(CheckBadRelativeness(m_FileName)){ | 1229 | if(CheckBadRelativeness(m_FileName)){ |
1226 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); | 1230 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); |
1227 | return TRUE; | 1231 | return TRUE; |
1228 | } | 1232 | } |
1229 | BOOL exists; | 1233 | BOOL exists; |
1230 | if(!_access((LPCTSTR)fn,0)) | 1234 | if(!_access((LPCTSTR)fn,0)) |
1231 | m_Rename=exists=TRUE; | 1235 | m_Rename=exists=TRUE; |
1232 | else | 1236 | else |
1233 | m_Rename=exists=FALSE; | 1237 | m_Rename=exists=FALSE; |
1234 | // *** m_WRQMode only if server transfer | 1238 | // *** m_WRQMode only if server transfer |
1235 | switch(m_Daddy->m_WRQMode){ | 1239 | switch(m_Daddy->m_WRQMode){ |
1236 | case CPumpKINDlg::wrqTakeAll: | 1240 | case CPumpKINDlg::wrqTakeAll: |
1237 | if(exists){ | 1241 | if(exists){ |
1238 | if(!RenameFile(fn)){ | 1242 | if(!RenameFile(fn)){ |
1239 | Deny(tftp::errDiskFull,IDS_TFTP_ERROR_FAILEDTORENAME); | 1243 | Deny(tftp::errDiskFull,IDS_TFTP_ERROR_FAILEDTORENAME); |
1240 | return TRUE; | 1244 | return TRUE; |
1241 | } | 1245 | } |
1242 | } | 1246 | } |
1243 | break; | 1247 | break; |
1244 | case CPumpKINDlg::wrqConfirmIfExists: | 1248 | case CPumpKINDlg::wrqConfirmIfExists: |
1245 | if(!exists) | 1249 | if(!exists) |
1246 | break; | 1250 | break; |
1247 | case CPumpKINDlg::wrqAlwaysConfirm: | 1251 | case CPumpKINDlg::wrqAlwaysConfirm: |
1248 | if(exists) | 1252 | if(exists) |
1249 | m_bResume=TRUE; | 1253 | m_bResume=TRUE; |
1250 | if(ConfirmRequest()){ | 1254 | if(ConfirmRequest()){ |
1251 | if(m_Rename){ | 1255 | if(m_Rename){ |
1252 | RenameFile(fn); | 1256 | RenameFile(fn); |
1253 | if(SaveAs(fn)) | 1257 | if(SaveAs(fn)) |
1254 | break; | 1258 | break; |
1255 | }else | 1259 | }else |
1256 | break; | 1260 | break; |
1257 | } | 1261 | } |
1258 | case CPumpKINDlg::wrqDenyAll: | 1262 | case CPumpKINDlg::wrqDenyAll: |
1259 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); | 1263 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); |
1260 | return TRUE; | 1264 | return TRUE; |
1261 | } | 1265 | } |
1262 | } | 1266 | } |
1263 | CFileException e; | 1267 | CFileException e; |
1264 | if(!m_File.Open( | 1268 | if(!m_File.Open( |
1265 | fn, | 1269 | fn, |
1266 | m_bResume | 1270 | m_bResume |
1267 | ?(CFile::modeWrite|CFile::shareDenyWrite) | 1271 | ?(CFile::modeWrite|CFile::shareDenyWrite) |
1268 | :(CFile::modeCreate|CFile::modeWrite|CFile::shareDenyWrite), | 1272 | :(CFile::modeCreate|CFile::modeWrite|CFile::shareDenyWrite), |
1269 | &e | 1273 | &e |
1270 | )){ | 1274 | )){ |
1271 | if(localFile){// Outgoing request | 1275 | if(localFile){// Outgoing request |
1272 | CString tmp; | 1276 | CString tmp; |
1273 | tmp.Format(IDS_LOG_FAILEDTOOPEN,fn); | 1277 | tmp.Format(IDS_LOG_FAILEDTOOPEN,fn); |
1274 | m_Daddy->LogLine(tmp); | 1278 | m_Daddy->LogLine(tmp); |
1275 | return FALSE; | 1279 | return FALSE; |
1276 | }else{ | 1280 | }else{ |
1277 | Deny(&e); | 1281 | Deny(&e); |
1278 | return TRUE; | 1282 | return TRUE; |
1279 | } | 1283 | } |
1280 | } | 1284 | } |
1281 | if(hostName){ | 1285 | if(hostName){ |
1282 | m_HostName=hostName; | 1286 | m_HostName=hostName; |
1283 | 1287 | ||
1284 | CString tmp; | 1288 | CString tmp; |
1285 | tmp.Format(IDS_LOG_REQUESTING,m_FileName,m_HostName); | 1289 | tmp.Format(IDS_LOG_REQUESTING,m_FileName,m_HostName); |
1286 | m_Daddy->LogLine(tmp); | 1290 | m_Daddy->LogLine(tmp); |
1287 | 1291 | ||
1288 | CString inAddr = hostName; | 1292 | CString inAddr = hostName; |
1289 | int at = inAddr.Find('@'); | 1293 | int at = inAddr.Find('@'); |
1290 | if(at>=0) | 1294 | if(at>=0) |
1291 | inAddr=inAddr.Mid(at+1); | 1295 | inAddr=inAddr.Mid(at+1); |
1292 | if((m_Peer.sin_addr.s_addr=inet_addr((LPCTSTR)inAddr))==INADDR_NONE){ | 1296 | if((m_Peer.sin_addr.s_addr=inet_addr((LPCTSTR)inAddr))==INADDR_NONE){ |
1293 | ASSERT(!m_wndResolver); | 1297 | ASSERT(!m_wndResolver); |
1294 | m_wndResolver = new CResolver(this); | 1298 | m_wndResolver = new CResolver(this); |
1295 | ASSERT(m_wndResolver); | 1299 | ASSERT(m_wndResolver); |
1296 | return m_wndResolver->Resolve(); | 1300 | return m_wndResolver->Resolve(); |
1297 | }else{ | 1301 | }else{ |
1298 | OnHostKnown(); | 1302 | OnHostKnown(); |
1299 | return TRUE; | 1303 | return TRUE; |
1300 | } | 1304 | } |
1301 | } | 1305 | } |
1302 | CString v; | 1306 | CString v; |
1303 | tftp::tftpOptions oack; | 1307 | tftp::tftpOptions oack; |
1304 | if(m_Options.Lookup(tftpoTSize,v)){ | 1308 | if(m_Options.Lookup(tftpoTSize,v)){ |
1305 | m_xferSize=atol(v); | 1309 | m_xferSize=atol(v); |
1306 | if(!m_xferSize){ | 1310 | if(!m_xferSize){ |
1307 | Deny(tftp::errOption,IDS_TFTP_ERROR_TSIZE); | 1311 | Deny(tftp::errOption,IDS_TFTP_ERROR_TSIZE); |
1308 | return TRUE; | 1312 | return TRUE; |
1309 | } | 1313 | } |
1310 | } | 1314 | } |
1311 | if(m_Options.Lookup(tftpoBSize,v)){ | 1315 | if(m_Options.Lookup(tftpoBSize,v)){ |
1312 | m_blkSize=atoi(v); | 1316 | m_blkSize=atoi(v); |
1313 | if(!m_blkSize){// *** Do more about sanity check | 1317 | if(!m_blkSize){// *** Do more about sanity check |
1314 | Deny(tftp::errOption,IDS_TFTP_ERROR_BSIZE); | 1318 | Deny(tftp::errOption,IDS_TFTP_ERROR_BSIZE); |
1315 | return TRUE; | 1319 | return TRUE; |
1316 | } | 1320 | } |
1317 | v.Format("%u",m_blkSize); | 1321 | v.Format("%u",m_blkSize); |
1318 | oack[tftpoBSize]=v; | 1322 | oack[tftpoBSize]=v; |
1319 | } | 1323 | } |
diff --git a/install/install.cpp b/install/install.cpp index 62f1e20..6fa4ae4 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,67 +1,67 @@ | |||
1 | #include "resource.h" | 1 | #include "resource.h" |
2 | #include "../shared-code/install.h" | 2 | #include "../shared-code/install.h" |
3 | 3 | ||
4 | #defineKINAME "PumpKIN 2.5" | 4 | #defineKINAME "PumpKIN 2.5.1-trunk" |
5 | #define SKINAME "PumpKIN" | 5 | #define SKINAME "PumpKIN" |
6 | 6 | ||
7 | BOOL Install(void) | 7 | BOOL Install(void) |
8 | { | 8 | { |
9 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); | 9 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); |
10 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); | 10 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
11 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 11 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
12 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); | 12 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); |
13 | if(!path) | 13 | if(!path) |
14 | return NULL; | 14 | return NULL; |
15 | 15 | ||
16 | #ifdefK_ANNED | 16 | #ifdefK_ANNED |
17 | STRING sysDir(_MAX_PATH); | 17 | STRING sysDir(_MAX_PATH); |
18 | GetSystemDirectory(sysDir,_MAX_PATH); | 18 | GetSystemDirectory(sysDir,_MAX_PATH); |
19 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); | 19 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | MAKE_PATH(path); | 22 | MAKE_PATH(path); |
23 | STRING shortPath = GET_SHORT_PATH(path); | 23 | STRING shortPath = GET_SHORT_PATH(path); |
24 | if(!shortPath){ | 24 | if(!shortPath){ |
25 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); | 25 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); |
26 | return FALSE; | 26 | return FALSE; |
27 | } | 27 | } |
28 | 28 | ||
29 | if(!( | 29 | if(!( |
30 | INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && | 30 | INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && |
31 | INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && | 31 | INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && |
32 | INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") | 32 | INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") |
33 | )){ | 33 | )){ |
34 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); | 34 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); |
35 | return FALSE; | 35 | return FALSE; |
36 | } | 36 | } |
37 | ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); | 37 | ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); |
38 | 38 | ||
39 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); | 39 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); |
40 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); | 40 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); |
41 | 41 | ||
42 | FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); | 42 | FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); |
43 | if(!inf){ | 43 | if(!inf){ |
44 | MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); | 44 | MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); |
45 | return FALSE; | 45 | return FALSE; |
46 | } | 46 | } |
47 | INF_FILE_HEADER(inf); | 47 | INF_FILE_HEADER(inf); |
48 | INF_FILE_SECTION(inf,"Uninstall"); | 48 | INF_FILE_SECTION(inf,"Uninstall"); |
49 | fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); | 49 | fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); |
50 | INF_FILE_SECTION(inf,"kFiles"); | 50 | INF_FILE_SECTION(inf,"kFiles"); |
51 | INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); | 51 | INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); |
52 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); | 52 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); |
53 | INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); | 53 | INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); |
54 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); | 54 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); |
55 | INF_FILE_SECTION(inf,"kReg"); | 55 | INF_FILE_SECTION(inf,"kReg"); |
56 | INF_UNINSTALL_REG(inf,SKINAME); | 56 | INF_UNINSTALL_REG(inf,SKINAME); |
57 | INF_FILE_SECTION(inf,"kMenu"); | 57 | INF_FILE_SECTION(inf,"kMenu"); |
58 | INF_MENU_GROUP(inf,1,"Klever Group"); | 58 | INF_MENU_GROUP(inf,1,"Klever Group"); |
59 | INF_MENU_ITEM(inf,1,SKINAME); | 59 | INF_MENU_ITEM(inf,1,SKINAME); |
60 | fclose(inf); | 60 | fclose(inf); |
61 | 61 | ||
62 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); | 62 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); |
63 | 63 | ||
64 | MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); | 64 | MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); |
65 | 65 | ||
66 | return TRUE; | 66 | return TRUE; |
67 | } | 67 | } |
diff --git a/install/install.rc b/install/install.rc index b1a3037..30907ad 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -38,145 +38,145 @@ BEGIN | |||
38 | PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | | 38 | PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | |
39 | BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME | 39 | BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME |
40 | CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | | 40 | CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | |
41 | ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 | 41 | ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 |
42 | LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY | 42 | LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY |
43 | CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, | 43 | CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, |
44 | 186,7,WS_EX_DLGMODALFRAME | 44 | 186,7,WS_EX_DLGMODALFRAME |
45 | END | 45 | END |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | IDD_PATH DIALOGEX 0, 0, 255, 73 | 48 | IDD_PATH DIALOGEX 0, 0, 255, 73 |
49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | | 49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | |
50 | WS_VISIBLE | WS_CAPTION | 50 | WS_VISIBLE | WS_CAPTION |
51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | 51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE |
52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
53 | BEGIN | 53 | BEGIN |
54 | LTEXT "",IDC_PROMPT,7,7,241,30 | 54 | LTEXT "",IDC_PROMPT,7,7,241,30 |
55 | EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL | 55 | EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL |
56 | PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 | 56 | PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 |
57 | DEFPUSHBUTTON "OK",IDOK,69,52,50,14 | 57 | DEFPUSHBUTTON "OK",IDOK,69,52,50,14 |
58 | PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 | 58 | PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 |
59 | END | 59 | END |
60 | 60 | ||
61 | 61 | ||
62 | ///////////////////////////////////////////////////////////////////////////// | 62 | ///////////////////////////////////////////////////////////////////////////// |
63 | // | 63 | // |
64 | // DESIGNINFO | 64 | // DESIGNINFO |
65 | // | 65 | // |
66 | 66 | ||
67 | #ifdef APSTUDIO_INVOKED | 67 | #ifdef APSTUDIO_INVOKED |
68 | GUIDELINES DESIGNINFO DISCARDABLE | 68 | GUIDELINES DESIGNINFO DISCARDABLE |
69 | BEGIN | 69 | BEGIN |
70 | "IDD_INSTALLING$(FALSE)", DIALOG | 70 | "IDD_INSTALLING$(FALSE)", DIALOG |
71 | BEGIN | 71 | BEGIN |
72 | LEFTMARGIN, 7 | 72 | LEFTMARGIN, 7 |
73 | RIGHTMARGIN, 193 | 73 | RIGHTMARGIN, 193 |
74 | TOPMARGIN, 7 | 74 | TOPMARGIN, 7 |
75 | BOTTOMMARGIN, 67 | 75 | BOTTOMMARGIN, 67 |
76 | HORZGUIDE, 39 | 76 | HORZGUIDE, 39 |
77 | END | 77 | END |
78 | 78 | ||
79 | IDD_PATH, DIALOG | 79 | IDD_PATH, DIALOG |
80 | BEGIN | 80 | BEGIN |
81 | LEFTMARGIN, 7 | 81 | LEFTMARGIN, 7 |
82 | RIGHTMARGIN, 248 | 82 | RIGHTMARGIN, 248 |
83 | VERTGUIDE, 202 | 83 | VERTGUIDE, 202 |
84 | VERTGUIDE, 208 | 84 | VERTGUIDE, 208 |
85 | TOPMARGIN, 7 | 85 | TOPMARGIN, 7 |
86 | BOTTOMMARGIN, 66 | 86 | BOTTOMMARGIN, 66 |
87 | HORZGUIDE, 37 | 87 | HORZGUIDE, 37 |
88 | END | 88 | END |
89 | END | 89 | END |
90 | #endif // APSTUDIO_INVOKED | 90 | #endif // APSTUDIO_INVOKED |
91 | 91 | ||
92 | 92 | ||
93 | #ifdef APSTUDIO_INVOKED | 93 | #ifdef APSTUDIO_INVOKED |
94 | ///////////////////////////////////////////////////////////////////////////// | 94 | ///////////////////////////////////////////////////////////////////////////// |
95 | // | 95 | // |
96 | // TEXTINCLUDE | 96 | // TEXTINCLUDE |
97 | // | 97 | // |
98 | 98 | ||
99 | 1 TEXTINCLUDE DISCARDABLE | 99 | 1 TEXTINCLUDE DISCARDABLE |
100 | BEGIN | 100 | BEGIN |
101 | "resource.h\0" | 101 | "resource.h\0" |
102 | END | 102 | END |
103 | 103 | ||
104 | 2 TEXTINCLUDE DISCARDABLE | 104 | 2 TEXTINCLUDE DISCARDABLE |
105 | BEGIN | 105 | BEGIN |
106 | "#include ""afxres.h""\r\n" | 106 | "#include ""afxres.h""\r\n" |
107 | "\0" | 107 | "\0" |
108 | END | 108 | END |
109 | 109 | ||
110 | 3 TEXTINCLUDE DISCARDABLE | 110 | 3 TEXTINCLUDE DISCARDABLE |
111 | BEGIN | 111 | BEGIN |
112 | "#include ""custom.rch""\0" | 112 | "#include ""custom.rch""\0" |
113 | END | 113 | END |
114 | 114 | ||
115 | #endif // APSTUDIO_INVOKED | 115 | #endif // APSTUDIO_INVOKED |
116 | 116 | ||
117 | 117 | ||
118 | ///////////////////////////////////////////////////////////////////////////// | 118 | ///////////////////////////////////////////////////////////////////////////// |
119 | // | 119 | // |
120 | // Icon | 120 | // Icon |
121 | // | 121 | // |
122 | 122 | ||
123 | // Icon with lowest ID value placed first to ensure application icon | 123 | // Icon with lowest ID value placed first to ensure application icon |
124 | // remains consistent on all systems. | 124 | // remains consistent on all systems. |
125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" | 125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" |
126 | 126 | ||
127 | #ifndef _MAC | 127 | #ifndef _MAC |
128 | ///////////////////////////////////////////////////////////////////////////// | 128 | ///////////////////////////////////////////////////////////////////////////// |
129 | // | 129 | // |
130 | // Version | 130 | // Version |
131 | // | 131 | // |
132 | 132 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 2,5,0,0 | 134 | FILEVERSION 2,5,1,0 |
135 | PRODUCTVERSION 2,5,0,0 | 135 | PRODUCTVERSION 2,5,1,0 |
136 | FILEFLAGSMASK 0x3fL | 136 | FILEFLAGSMASK 0x3fL |
137 | #ifdef _DEBUG | 137 | #ifdef _DEBUG |
138 | FILEFLAGS 0x1L | 138 | FILEFLAGS 0x1L |
139 | #else | 139 | #else |
140 | FILEFLAGS 0x0L | 140 | FILEFLAGS 0x0L |
141 | #endif | 141 | #endif |
142 | FILEOS 0x40004L | 142 | FILEOS 0x40004L |
143 | FILETYPE 0x1L | 143 | FILETYPE 0x1L |
144 | FILESUBTYPE 0x0L | 144 | FILESUBTYPE 0x0L |
145 | BEGIN | 145 | BEGIN |
146 | BLOCK "StringFileInfo" | 146 | BLOCK "StringFileInfo" |
147 | BEGIN | 147 | BEGIN |
148 | BLOCK "040904b0" | 148 | BLOCK "040904b0" |
149 | BEGIN | 149 | BEGIN |
150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" | 151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" |
152 | VALUE "FileVersion", "2, 5, 0, 0\0" | 152 | VALUE "FileVersion", "2, 5, 1, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net/)\0" | 154 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net/)\0" |
155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
156 | VALUE "OriginalFilename", "INSTALL.EXE\0" | 156 | VALUE "OriginalFilename", "INSTALL.EXE\0" |
157 | VALUE "ProductName", "PumpKIN\0" | 157 | VALUE "ProductName", "PumpKIN\0" |
158 | VALUE "ProductVersion", "2, 5, 0, 0\0" | 158 | VALUE "ProductVersion", "2, 5, 1, 0\0" |
159 | END | 159 | END |
160 | END | 160 | END |
161 | BLOCK "VarFileInfo" | 161 | BLOCK "VarFileInfo" |
162 | BEGIN | 162 | BEGIN |
163 | VALUE "Translation", 0x409, 1200 | 163 | VALUE "Translation", 0x409, 1200 |
164 | END | 164 | END |
165 | END | 165 | END |
166 | 166 | ||
167 | #endif // !_MAC | 167 | #endif // !_MAC |
168 | 168 | ||
169 | #endif // English (U.S.) resources | 169 | #endif // English (U.S.) resources |
170 | ///////////////////////////////////////////////////////////////////////////// | 170 | ///////////////////////////////////////////////////////////////////////////// |
171 | 171 | ||
172 | 172 | ||
173 | 173 | ||
174 | #ifndef APSTUDIO_INVOKED | 174 | #ifndef APSTUDIO_INVOKED |
175 | ///////////////////////////////////////////////////////////////////////////// | 175 | ///////////////////////////////////////////////////////////////////////////// |
176 | // | 176 | // |
177 | // Generated from the TEXTINCLUDE 3 resource. | 177 | // Generated from the TEXTINCLUDE 3 resource. |
178 | // | 178 | // |
179 | #include "custom.rch" | 179 | #include "custom.rch" |
180 | ///////////////////////////////////////////////////////////////////////////// | 180 | ///////////////////////////////////////////////////////////////////////////// |
181 | #endif // not APSTUDIO_INVOKED | 181 | #endif // not APSTUDIO_INVOKED |
182 | 182 | ||
@@ -1,181 +1,181 @@ | |||
1 | //Microsoft Developer Studio generated resource script. | 1 | //Microsoft Developer Studio generated resource script. |
2 | // | 2 | // |
3 | #include "resource.h" | 3 | #include "resource.h" |
4 | 4 | ||
5 | #define APSTUDIO_READONLY_SYMBOLS | 5 | #define APSTUDIO_READONLY_SYMBOLS |
6 | ///////////////////////////////////////////////////////////////////////////// | 6 | ///////////////////////////////////////////////////////////////////////////// |
7 | // | 7 | // |
8 | // Generated from the TEXTINCLUDE 2 resource. | 8 | // Generated from the TEXTINCLUDE 2 resource. |
9 | // | 9 | // |
10 | #include "afxres.h" | 10 | #include "afxres.h" |
11 | 11 | ||
12 | ///////////////////////////////////////////////////////////////////////////// | 12 | ///////////////////////////////////////////////////////////////////////////// |
13 | #undef APSTUDIO_READONLY_SYMBOLS | 13 | #undef APSTUDIO_READONLY_SYMBOLS |
14 | 14 | ||
15 | ///////////////////////////////////////////////////////////////////////////// | 15 | ///////////////////////////////////////////////////////////////////////////// |
16 | // English (U.S.) resources | 16 | // English (U.S.) resources |
17 | 17 | ||
18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
19 | #ifdef _WIN32 | 19 | #ifdef _WIN32 |
20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
21 | #pragma code_page(1252) | 21 | #pragma code_page(1252) |
22 | #endif //_WIN32 | 22 | #endif //_WIN32 |
23 | 23 | ||
24 | #ifdef APSTUDIO_INVOKED | 24 | #ifdef APSTUDIO_INVOKED |
25 | ///////////////////////////////////////////////////////////////////////////// | 25 | ///////////////////////////////////////////////////////////////////////////// |
26 | // | 26 | // |
27 | // TEXTINCLUDE | 27 | // TEXTINCLUDE |
28 | // | 28 | // |
29 | 29 | ||
30 | 1 TEXTINCLUDE DISCARDABLE | 30 | 1 TEXTINCLUDE DISCARDABLE |
31 | BEGIN | 31 | BEGIN |
32 | "resource.h\0" | 32 | "resource.h\0" |
33 | END | 33 | END |
34 | 34 | ||
35 | 2 TEXTINCLUDE DISCARDABLE | 35 | 2 TEXTINCLUDE DISCARDABLE |
36 | BEGIN | 36 | BEGIN |
37 | "#include ""afxres.h""\r\n" | 37 | "#include ""afxres.h""\r\n" |
38 | "\0" | 38 | "\0" |
39 | END | 39 | END |
40 | 40 | ||
41 | 3 TEXTINCLUDE DISCARDABLE | 41 | 3 TEXTINCLUDE DISCARDABLE |
42 | BEGIN | 42 | BEGIN |
43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" | 43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" |
44 | "#define _AFX_NO_OLE_RESOURCES\r\n" | 44 | "#define _AFX_NO_OLE_RESOURCES\r\n" |
45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" | 45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" |
46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" | 46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" |
47 | "\r\n" | 47 | "\r\n" |
48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" | 48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" |
49 | "#ifdef _WIN32\r\n" | 49 | "#ifdef _WIN32\r\n" |
50 | "LANGUAGE 9, 1\r\n" | 50 | "LANGUAGE 9, 1\r\n" |
51 | "#pragma code_page(1252)\r\n" | 51 | "#pragma code_page(1252)\r\n" |
52 | "#endif\r\n" | 52 | "#endif\r\n" |
53 | "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" | 53 | "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" |
54 | "#include ""afxres.rc"" // Standard components\r\n" | 54 | "#include ""afxres.rc"" // Standard components\r\n" |
55 | "#endif\0" | 55 | "#endif\0" |
56 | END | 56 | END |
57 | 57 | ||
58 | #endif // APSTUDIO_INVOKED | 58 | #endif // APSTUDIO_INVOKED |
59 | 59 | ||
60 | 60 | ||
61 | ///////////////////////////////////////////////////////////////////////////// | 61 | ///////////////////////////////////////////////////////////////////////////// |
62 | // | 62 | // |
63 | // Icon | 63 | // Icon |
64 | // | 64 | // |
65 | 65 | ||
66 | // Icon with lowest ID value placed first to ensure application icon | 66 | // Icon with lowest ID value placed first to ensure application icon |
67 | // remains consistent on all systems. | 67 | // remains consistent on all systems. |
68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" | 68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" |
69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" | 69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" |
70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" | 70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" |
71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" | 71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" |
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" | 72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" |
73 | 73 | ||
74 | ///////////////////////////////////////////////////////////////////////////// | 74 | ///////////////////////////////////////////////////////////////////////////// |
75 | // | 75 | // |
76 | // Dialog | 76 | // Dialog |
77 | // | 77 | // |
78 | 78 | ||
79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 | 79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 |
80 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 80 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU |
81 | CAPTION "About PumpKIN" | 81 | CAPTION "About PumpKIN" |
82 | FONT 8, "MS Sans Serif" | 82 | FONT 8, "MS Sans Serif" |
83 | BEGIN | 83 | BEGIN |
84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 | 84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 |
85 | LTEXT "PumpKIN, Version 2.5",IDC_STATIC,40,15,119,8,SS_NOPREFIX | 85 | LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8,SS_NOPREFIX |
86 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170, | 86 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170, |
87 | 8 | 87 | 8 |
88 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP | 88 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP |
89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 | 89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 |
90 | END | 90 | END |
91 | 91 | ||
92 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 191 | 92 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 191 |
93 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | | 93 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | |
94 | WS_SYSMENU | 94 | WS_SYSMENU |
95 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW | 95 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW |
96 | CAPTION " PumpKIN" | 96 | CAPTION " PumpKIN" |
97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
98 | BEGIN | 98 | BEGIN |
99 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | | 99 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | |
100 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, | 100 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, |
101 | WS_EX_DLGMODALFRAME | 101 | WS_EX_DLGMODALFRAME |
102 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, | 102 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, |
103 | WS_EX_CLIENTEDGE | 103 | WS_EX_CLIENTEDGE |
104 | PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY, | 104 | PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY, |
105 | WS_EX_CLIENTEDGE | 105 | WS_EX_CLIENTEDGE |
106 | PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY, | 106 | PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY, |
107 | WS_EX_CLIENTEDGE | 107 | WS_EX_CLIENTEDGE |
108 | PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY, | 108 | PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY, |
109 | WS_EX_CLIENTEDGE | 109 | WS_EX_CLIENTEDGE |
110 | PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE | 110 | PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE |
111 | PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE | 111 | PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE |
112 | LISTBOX IDC_LOG,7,115,348,69,LBS_USETABSTOPS | LBS_NOSEL | | 112 | LISTBOX IDC_LOG,7,115,348,69,LBS_USETABSTOPS | LBS_NOSEL | |
113 | WS_VSCROLL | WS_HSCROLL,WS_EX_DLGMODALFRAME | 113 | WS_VSCROLL | WS_HSCROLL,WS_EX_DLGMODALFRAME |
114 | PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP | 114 | PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP |
115 | END | 115 | END |
116 | 116 | ||
117 | IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 210, 154 | 117 | IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 210, 154 |
118 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 118 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
119 | CAPTION "Server" | 119 | CAPTION "Server" |
120 | FONT 8, "MS Sans Serif" | 120 | FONT 8, "MS Sans Serif" |
121 | BEGIN | 121 | BEGIN |
122 | GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7, | 122 | GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7, |
123 | 196,38 | 123 | 196,38 |
124 | EDITTEXT IDC_TFTPROOT,13,16,170,13,ES_AUTOHSCROLL | 124 | EDITTEXT IDC_TFTPROOT,13,16,170,13,ES_AUTOHSCROLL |
125 | PUSHBUTTON "&B",IDC_BROWSE,186,16,13,13,BS_ICON | 125 | PUSHBUTTON "&B",IDC_BROWSE,186,16,13,13,BS_ICON |
126 | CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, | 126 | CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, |
127 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 | 127 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 |
128 | GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,153,42 | 128 | GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,153,42 |
129 | CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", | 129 | CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", |
130 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,57,53,10 | 130 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,57,53,10 |
131 | CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, | 131 | CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, |
132 | "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,23,67,91,10 | 132 | "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,23,67,91,10 |
133 | CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", | 133 | CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", |
134 | BS_AUTORADIOBUTTON | BS_NOTIFY,33,77,70,10 | 134 | BS_AUTORADIOBUTTON | BS_NOTIFY,33,77,70,10 |
135 | GROUPBOX "Write Request Behavior",IDC_STATIC,7,93,172,54,WS_GROUP | 135 | GROUPBOX "Write Request Behavior",IDC_STATIC,7,93,172,54,WS_GROUP |
136 | CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", | 136 | CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", |
137 | BS_AUTORADIOBUTTON | WS_GROUP,13,103,55,10 | 137 | BS_AUTORADIOBUTTON | WS_GROUP,13,103,55,10 |
138 | CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", | 138 | CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", |
139 | BS_AUTORADIOBUTTON,23,113,73,10 | 139 | BS_AUTORADIOBUTTON,23,113,73,10 |
140 | CONTROL "Always pro&mpt before accepting file", | 140 | CONTROL "Always pro&mpt before accepting file", |
141 | IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,33,123, | 141 | IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,33,123, |
142 | 139,10 | 142 | 139,10 |
143 | CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", | 143 | CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", |
144 | BS_AUTORADIOBUTTON,43,133,70,10 | 144 | BS_AUTORADIOBUTTON,43,133,70,10 |
145 | CTEXT "Confirmation &timeout",IDC_STATIC,163,52,40,19, | 145 | CTEXT "Confirmation &timeout",IDC_STATIC,163,52,40,19, |
146 | SS_NOTIFY | 146 | SS_NOTIFY |
147 | CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", | 147 | CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", |
148 | TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,182,73, | 148 | TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,182,73, |
149 | 21,74 | 149 | 21,74 |
150 | END | 150 | END |
151 | 151 | ||
152 | IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 210, 154 | 152 | IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 210, 154 |
153 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 153 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
154 | CAPTION "Network" | 154 | CAPTION "Network" |
155 | FONT 8, "MS Sans Serif" | 155 | FONT 8, "MS Sans Serif" |
156 | BEGIN | 156 | BEGIN |
157 | GROUPBOX "UDP Ports",IDC_STATIC,7,7,196,40 | 157 | GROUPBOX "UDP Ports",IDC_STATIC,7,7,196,40 |
158 | RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, | 158 | RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, |
159 | 18,135,8 | 159 | 18,135,8 |
160 | EDITTEXT IDC_LISTENPORT,154,16,40,13,ES_AUTOHSCROLL | 160 | EDITTEXT IDC_LISTENPORT,154,16,40,13,ES_AUTOHSCROLL |
161 | CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | | 161 | CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | |
162 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 162 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
163 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,183,16,11,13 | 163 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,183,16,11,13 |
164 | RTEXT "Send &outging requests to port:",IDC_STATIC,13,31,135,8 | 164 | RTEXT "Send &outging requests to port:",IDC_STATIC,13,31,135,8 |
165 | EDITTEXT IDC_SPEAKPORT,154,29,40,13,ES_AUTOHSCROLL | 165 | EDITTEXT IDC_SPEAKPORT,154,29,40,13,ES_AUTOHSCROLL |
166 | CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | | 166 | CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | |
167 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 167 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
168 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,183,29,11,13 | 168 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,183,29,11,13 |
169 | LTEXT "Default connection timeout:",IDC_STATIC,7,52,88,8 | 169 | LTEXT "Default connection timeout:",IDC_STATIC,7,52,88,8 |
170 | EDITTEXT IDC_TIMEOUT,110,50,40,13,ES_AUTOHSCROLL | ES_NUMBER | 170 | EDITTEXT IDC_TIMEOUT,110,50,40,13,ES_AUTOHSCROLL | ES_NUMBER |
171 | CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | | 171 | CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | |
172 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 172 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
173 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,50,11,13 | 173 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,50,11,13 |
174 | LTEXT "Default block size:",IDC_STATIC,7,66,59,8 | 174 | LTEXT "Default block size:",IDC_STATIC,7,66,59,8 |
175 | LTEXT "seconds",IDC_STATIC,154,52,28,8 | 175 | LTEXT "seconds",IDC_STATIC,154,52,28,8 |
176 | LTEXT "bytes",IDC_STATIC,154,66,18,8 | 176 | LTEXT "bytes",IDC_STATIC,154,66,18,8 |
177 | EDITTEXT IDC_BLOCKSIZE,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER | 177 | EDITTEXT IDC_BLOCKSIZE,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER |
178 | CONTROL "Spin3",IDC_BSIZESPIN,"msctls_updown32",UDS_WRAP | | 178 | CONTROL "Spin3",IDC_BSIZESPIN,"msctls_updown32",UDS_WRAP | |
179 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 179 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
180 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 | 180 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 |
181 | END | 181 | END |
@@ -193,217 +193,217 @@ BEGIN | |||
193 | CTEXT "255.255.255.255",IDC_HOST,57,15,68,14,SS_NOTIFY | | 193 | CTEXT "255.255.255.255",IDC_HOST,57,15,68,14,SS_NOTIFY | |
194 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | | 194 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | |
195 | WS_EX_CLIENTEDGE | 195 | WS_EX_CLIENTEDGE |
196 | CTEXT "is requesting the file",IDC_STATIC,23,29,135,8 | 196 | CTEXT "is requesting the file",IDC_STATIC,23,29,135,8 |
197 | CTEXT "",IDC_FILE,23,37,135,14,SS_NOTIFY | SS_SUNKEN | | 197 | CTEXT "",IDC_FILE,23,37,135,14,SS_NOTIFY | SS_SUNKEN | |
198 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | 198 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE |
199 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,167,1 | 199 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,167,1 |
200 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,18,20 | 200 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,18,20 |
201 | ICON IDR_MAINFRAME,IDC_STATIC,153,7,18,20 | 201 | ICON IDR_MAINFRAME,IDC_STATIC,153,7,18,20 |
202 | END | 202 | END |
203 | 203 | ||
204 | IDD_CONFIRM_WRQ DIALOGEX 0, 0, 201, 95 | 204 | IDD_CONFIRM_WRQ DIALOGEX 0, 0, 201, 95 |
205 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | 205 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
206 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | 206 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE |
207 | CAPTION " PumpKIN - Confirm Write Request" | 207 | CAPTION " PumpKIN - Confirm Write Request" |
208 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 208 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
209 | BEGIN | 209 | BEGIN |
210 | DEFPUSHBUTTON "&Accept",IDOK,7,58,59,14 | 210 | DEFPUSHBUTTON "&Accept",IDOK,7,58,59,14 |
211 | PUSHBUTTON "&Rename",IDC_RENAME,71,58,59,14 | 211 | PUSHBUTTON "&Rename",IDC_RENAME,71,58,59,14 |
212 | PUSHBUTTON "&Deny Access",IDCANCEL,135,58,59,14 | 212 | PUSHBUTTON "&Deny Access",IDCANCEL,135,58,59,14 |
213 | LTEXT "The host",IDC_STATIC,87,7,29,8 | 213 | LTEXT "The host",IDC_STATIC,87,7,29,8 |
214 | CTEXT "255.255.255.255",IDC_HOST,67,15,68,14,SS_NOTIFY | | 214 | CTEXT "255.255.255.255",IDC_HOST,67,15,68,14,SS_NOTIFY | |
215 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | | 215 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | |
216 | WS_EX_CLIENTEDGE | 216 | WS_EX_CLIENTEDGE |
217 | CTEXT "is attempting to send you a file",IDC_STATIC,33,29,135, | 217 | CTEXT "is attempting to send you a file",IDC_STATIC,33,29,135, |
218 | 8 | 218 | 8 |
219 | CTEXT "",IDC_FILE,33,37,135,14,SS_NOTIFY | SS_SUNKEN | | 219 | CTEXT "",IDC_FILE,33,37,135,14,SS_NOTIFY | SS_SUNKEN | |
220 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | 220 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE |
221 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 | 221 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 |
222 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 | 222 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 |
223 | ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 | 223 | ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 |
224 | PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 | 224 | PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 |
225 | END | 225 | END |
226 | 226 | ||
227 | IDD_REQUEST DIALOGEX 0, 0, 191, 161 | 227 | IDD_REQUEST DIALOGEX 0, 0, 191, 161 |
228 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | | 228 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | |
229 | WS_SYSMENU | 229 | WS_SYSMENU |
230 | EXSTYLE WS_EX_CLIENTEDGE | 230 | EXSTYLE WS_EX_CLIENTEDGE |
231 | CAPTION "Request" | 231 | CAPTION "Request" |
232 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 232 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
233 | BEGIN | 233 | BEGIN |
234 | LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY | 234 | LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY |
235 | EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, | 235 | EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, |
236 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 236 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
237 | PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE | 237 | PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE |
238 | LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY | 238 | LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY |
239 | EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, | 239 | EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, |
240 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 240 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
241 | LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY | 241 | LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY |
242 | COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | | 242 | COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | |
243 | CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | | 243 | CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | |
244 | WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 244 | WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
245 | PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, | 245 | PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, |
246 | BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, | 246 | BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, |
247 | WS_EX_CLIENTEDGE | 247 | WS_EX_CLIENTEDGE |
248 | LTEXT "&Type:",IDC_STATIC,58,34,19,8 | 248 | LTEXT "&Type:",IDC_STATIC,58,34,19,8 |
249 | COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 249 | COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
250 | CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP | 250 | CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP |
251 | LTEXT "&Block:",IDC_STATIC,127,34,21,8 | 251 | LTEXT "&Block:",IDC_STATIC,127,34,21,8 |
252 | COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | | 252 | COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | |
253 | WS_TABSTOP | 253 | WS_TABSTOP |
254 | DEFPUSHBUTTON "OK",IDOK,35,140,50,14 | 254 | DEFPUSHBUTTON "OK",IDOK,35,140,50,14 |
255 | PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 | 255 | PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 |
256 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 | 256 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 |
257 | END | 257 | END |
258 | 258 | ||
259 | IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 210, 154 | 259 | IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 210, 154 |
260 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 260 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
261 | CAPTION "Sounds" | 261 | CAPTION "Sounds" |
262 | FONT 8, "MS Sans Serif" | 262 | FONT 8, "MS Sans Serif" |
263 | BEGIN | 263 | BEGIN |
264 | LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 | 264 | LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 |
265 | COMBOBOX IDC_RING,70,7,103,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 265 | COMBOBOX IDC_RING,70,7,103,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
266 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 266 | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
267 | PUSHBUTTON "browse",IDC_RING_BROWSE,175,7,13,13,BS_ICON | 267 | PUSHBUTTON "browse",IDC_RING_BROWSE,175,7,13,13,BS_ICON |
268 | PUSHBUTTON "play",IDC_RING_PLAY,190,7,13,13,BS_ICON | 268 | PUSHBUTTON "play",IDC_RING_PLAY,190,7,13,13,BS_ICON |
269 | LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 | 269 | LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 |
270 | COMBOBOX IDC_FINISHED,70,22,103,100,CBS_DROPDOWN | | 270 | COMBOBOX IDC_FINISHED,70,22,103,100,CBS_DROPDOWN | |
271 | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 271 | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
272 | PUSHBUTTON "browse",IDC_FINISHED_BROWSE,175,22,13,13,BS_ICON | 272 | PUSHBUTTON "browse",IDC_FINISHED_BROWSE,175,22,13,13,BS_ICON |
273 | PUSHBUTTON "play",IDC_FINISHED_PLAY,190,22,13,13,BS_ICON | 273 | PUSHBUTTON "play",IDC_FINISHED_PLAY,190,22,13,13,BS_ICON |
274 | LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 | 274 | LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 |
275 | COMBOBOX IDC_ABORTED,70,37,103,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 275 | COMBOBOX IDC_ABORTED,70,37,103,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
276 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 276 | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
277 | PUSHBUTTON "browse",IDC_ABORTED_BROWSE,175,37,13,13,BS_ICON | 277 | PUSHBUTTON "browse",IDC_ABORTED_BROWSE,175,37,13,13,BS_ICON |
278 | PUSHBUTTON "play",IDC_ABORTED_PLAY,190,37,13,13,BS_ICON | 278 | PUSHBUTTON "play",IDC_ABORTED_PLAY,190,37,13,13,BS_ICON |
279 | END | 279 | END |
280 | 280 | ||
281 | 281 | ||
282 | #ifndef _MAC | 282 | #ifndef _MAC |
283 | ///////////////////////////////////////////////////////////////////////////// | 283 | ///////////////////////////////////////////////////////////////////////////// |
284 | // | 284 | // |
285 | // Version | 285 | // Version |
286 | // | 286 | // |
287 | 287 | ||
288 | VS_VERSION_INFO VERSIONINFO | 288 | VS_VERSION_INFO VERSIONINFO |
289 | FILEVERSION 2,5,0,0 | 289 | FILEVERSION 2,5,1,0 |
290 | PRODUCTVERSION 2,5,0,0 | 290 | PRODUCTVERSION 2,5,1,0 |
291 | FILEFLAGSMASK 0x3fL | 291 | FILEFLAGSMASK 0x3fL |
292 | #ifdef _DEBUG | 292 | #ifdef _DEBUG |
293 | FILEFLAGS 0x1L | 293 | FILEFLAGS 0x1L |
294 | #else | 294 | #else |
295 | FILEFLAGS 0x0L | 295 | FILEFLAGS 0x0L |
296 | #endif | 296 | #endif |
297 | FILEOS 0x4L | 297 | FILEOS 0x4L |
298 | FILETYPE 0x1L | 298 | FILETYPE 0x1L |
299 | FILESUBTYPE 0x0L | 299 | FILESUBTYPE 0x0L |
300 | BEGIN | 300 | BEGIN |
301 | BLOCK "StringFileInfo" | 301 | BLOCK "StringFileInfo" |
302 | BEGIN | 302 | BEGIN |
303 | BLOCK "040904b0" | 303 | BLOCK "040904b0" |
304 | BEGIN | 304 | BEGIN |
305 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 305 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
306 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" | 306 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" |
307 | VALUE "FileVersion", "2, 5, 0, 0\0" | 307 | VALUE "FileVersion", "2, 5, 1, 0\0" |
308 | VALUE "InternalName", "PUMPKIN\0" | 308 | VALUE "InternalName", "PUMPKIN\0" |
309 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net)\0" | 309 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net)\0" |
310 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 310 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
311 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" | 311 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" |
312 | VALUE "ProductName", "PumpKIN\0" | 312 | VALUE "ProductName", "PumpKIN\0" |
313 | VALUE "ProductVersion", "2, 5, 0, 0\0" | 313 | VALUE "ProductVersion", "2, 5, 1, 0\0" |
314 | END | 314 | END |
315 | END | 315 | END |
316 | BLOCK "VarFileInfo" | 316 | BLOCK "VarFileInfo" |
317 | BEGIN | 317 | BEGIN |
318 | VALUE "Translation", 0x409, 1200 | 318 | VALUE "Translation", 0x409, 1200 |
319 | END | 319 | END |
320 | END | 320 | END |
321 | 321 | ||
322 | #endif // !_MAC | 322 | #endif // !_MAC |
323 | 323 | ||
324 | 324 | ||
325 | ///////////////////////////////////////////////////////////////////////////// | 325 | ///////////////////////////////////////////////////////////////////////////// |
326 | // | 326 | // |
327 | // DESIGNINFO | 327 | // DESIGNINFO |
328 | // | 328 | // |
329 | 329 | ||
330 | #ifdef APSTUDIO_INVOKED | 330 | #ifdef APSTUDIO_INVOKED |
331 | GUIDELINES DESIGNINFO DISCARDABLE | 331 | GUIDELINES DESIGNINFO DISCARDABLE |
332 | BEGIN | 332 | BEGIN |
333 | IDD_ABOUTBOX, DIALOG | 333 | IDD_ABOUTBOX, DIALOG |
334 | BEGIN | 334 | BEGIN |
335 | LEFTMARGIN, 7 | 335 | LEFTMARGIN, 7 |
336 | RIGHTMARGIN, 210 | 336 | RIGHTMARGIN, 210 |
337 | TOPMARGIN, 7 | 337 | TOPMARGIN, 7 |
338 | BOTTOMMARGIN, 67 | 338 | BOTTOMMARGIN, 67 |
339 | END | 339 | END |
340 | 340 | ||
341 | IDD_PUMPKIN_DIALOG, DIALOG | 341 | IDD_PUMPKIN_DIALOG, DIALOG |
342 | BEGIN | 342 | BEGIN |
343 | LEFTMARGIN, 7 | 343 | LEFTMARGIN, 7 |
344 | RIGHTMARGIN, 355 | 344 | RIGHTMARGIN, 355 |
345 | TOPMARGIN, 7 | 345 | TOPMARGIN, 7 |
346 | BOTTOMMARGIN, 184 | 346 | BOTTOMMARGIN, 184 |
347 | HORZGUIDE, 115 | 347 | HORZGUIDE, 115 |
348 | END | 348 | END |
349 | 349 | ||
350 | IDD_PROPS_SERVER, DIALOG | 350 | IDD_PROPS_SERVER, DIALOG |
351 | BEGIN | 351 | BEGIN |
352 | LEFTMARGIN, 7 | 352 | LEFTMARGIN, 7 |
353 | RIGHTMARGIN, 203 | 353 | RIGHTMARGIN, 203 |
354 | TOPMARGIN, 7 | 354 | TOPMARGIN, 7 |
355 | BOTTOMMARGIN, 147 | 355 | BOTTOMMARGIN, 147 |
356 | END | 356 | END |
357 | 357 | ||
358 | IDD_PROPS_NETWORK, DIALOG | 358 | IDD_PROPS_NETWORK, DIALOG |
359 | BEGIN | 359 | BEGIN |
360 | LEFTMARGIN, 7 | 360 | LEFTMARGIN, 7 |
361 | RIGHTMARGIN, 203 | 361 | RIGHTMARGIN, 203 |
362 | TOPMARGIN, 7 | 362 | TOPMARGIN, 7 |
363 | BOTTOMMARGIN, 147 | 363 | BOTTOMMARGIN, 147 |
364 | END | 364 | END |
365 | 365 | ||
366 | IDD_CONFIRM_RRQ, DIALOG | 366 | IDD_CONFIRM_RRQ, DIALOG |
367 | BEGIN | 367 | BEGIN |
368 | LEFTMARGIN, 7 | 368 | LEFTMARGIN, 7 |
369 | RIGHTMARGIN, 174 | 369 | RIGHTMARGIN, 174 |
370 | TOPMARGIN, 7 | 370 | TOPMARGIN, 7 |
371 | BOTTOMMARGIN, 72 | 371 | BOTTOMMARGIN, 72 |
372 | END | 372 | END |
373 | 373 | ||
374 | IDD_CONFIRM_WRQ, DIALOG | 374 | IDD_CONFIRM_WRQ, DIALOG |
375 | BEGIN | 375 | BEGIN |
376 | LEFTMARGIN, 7 | 376 | LEFTMARGIN, 7 |
377 | RIGHTMARGIN, 194 | 377 | RIGHTMARGIN, 194 |
378 | TOPMARGIN, 7 | 378 | TOPMARGIN, 7 |
379 | BOTTOMMARGIN, 88 | 379 | BOTTOMMARGIN, 88 |
380 | END | 380 | END |
381 | 381 | ||
382 | IDD_REQUEST, DIALOG | 382 | IDD_REQUEST, DIALOG |
383 | BEGIN | 383 | BEGIN |
384 | LEFTMARGIN, 7 | 384 | LEFTMARGIN, 7 |
385 | RIGHTMARGIN, 184 | 385 | RIGHTMARGIN, 184 |
386 | TOPMARGIN, 7 | 386 | TOPMARGIN, 7 |
387 | BOTTOMMARGIN, 154 | 387 | BOTTOMMARGIN, 154 |
388 | END | 388 | END |
389 | 389 | ||
390 | IDD_PROPS_SOUNDS, DIALOG | 390 | IDD_PROPS_SOUNDS, DIALOG |
391 | BEGIN | 391 | BEGIN |
392 | LEFTMARGIN, 7 | 392 | LEFTMARGIN, 7 |
393 | RIGHTMARGIN, 203 | 393 | RIGHTMARGIN, 203 |
394 | TOPMARGIN, 7 | 394 | TOPMARGIN, 7 |
395 | BOTTOMMARGIN, 147 | 395 | BOTTOMMARGIN, 147 |
396 | END | 396 | END |
397 | END | 397 | END |
398 | #endif // APSTUDIO_INVOKED | 398 | #endif // APSTUDIO_INVOKED |
399 | 399 | ||
400 | 400 | ||
401 | ///////////////////////////////////////////////////////////////////////////// | 401 | ///////////////////////////////////////////////////////////////////////////// |
402 | // | 402 | // |
403 | // Bitmap | 403 | // Bitmap |
404 | // | 404 | // |
405 | 405 | ||
406 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" | 406 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" |
407 | 407 | ||
408 | ///////////////////////////////////////////////////////////////////////////// | 408 | ///////////////////////////////////////////////////////////////////////////// |
409 | // | 409 | // |