Develop and Download Open Source Software

Browse CVS Repository

Contents of /tombo/Tombo/Src/AboutDialog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.87 - (show annotations) (download) (as text)
Mon Sep 25 15:59:44 2006 UTC (17 years, 6 months ago) by hirami
Branch: MAIN
CVS Tags: Tombo_2_0b4, B231, HEAD
Changes since 1.86: +1 -1 lines
File MIME type: text/x-c++src
* FIX: One pane mode is not worked(#8954)
* FIX: Save new note failed when choosing virtual folder(#9013)
* FIX: Cut/Copy/Paste is not worked when choosing from menu(WM5)(#9008)
* FIX: Renaming is not worked on some WM5 devices(#9014)
* FIX: Password timeout is not occured when displaying crypted notes and focus is in treeview.(#9050)

1 #include <windows.h>
2 #include "Tombo.h"
3
4 #ifdef _WIN32_WCE
5 #if defined(PLATFORM_PKTPC) || defined(PLATFORM_WM5)
6 #include <aygshell.h>
7 #endif
8 #endif
9
10 #include "resource.h"
11 #include "AboutDialog.h"
12
13 // version info
14
15 //#define TOMBO_VERSION_INFO TEXT("Tombo version 1.17")
16 #define TOMBO_VERSION_INFO TEXT("Tombo 2.0 beta 4")
17
18 // copyrights and credits
19
20 LPCTSTR pCopyright =
21 TOMBO_VERSION_INFO
22 TEXT("\r\n")
23 TEXT(" Copyright(C) 2000-2003 Tomohisa Hirami\r\n")
24 TEXT(" Copyright(C) 2004-2006 TOMBO maintainers\r\n")
25 TEXT("\r\n")
26 TEXT("MD5 library:\r\n")
27 TEXT(" Copyright (C) 1995,1996,1998,1999 Free Software Foundation, Inc.\r\n")
28 TEXT("\r\n")
29 TEXT("BLOWFISH encryption library:\r\n")
30 TEXT(" Copyright (C) 1998 Free Software Foundation, Inc.\r\n")
31 TEXT("\r\n")
32 TEXT("Oniguruma(regular expression matching and search library):\r\n")
33 TEXT(" Copyright (c) 2002-2005 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>\r\n")
34 TEXT(" All rights reserved.\r\n")
35 TEXT(" ** Oniguruma is distributed under BSD License. ** \r\n")
36 TEXT("\r\n")
37 TEXT("The Expat XML Parser:\r\n")
38 TEXT(" Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd\r\n")
39 TEXT(" and Clark Cooper\r\n")
40 TEXT(" Copyright (c) 2001, 2002 Expat maintainers.\r\n")
41 TEXT(" ** Expat library is distributed under MIT License. ** \r\n")
42 TEXT("--------\r\n")
43 TEXT("TOMBO is free software; you can redistribute it and/or modify\r\n")
44 TEXT("it under the terms of the GNU General Public License as published by\r\n")
45 TEXT("the Free Software Foundation; either version 2 of the License, or\r\n")
46 TEXT(" any later version.\r\n")
47 TEXT("\r\n")
48 TEXT("TOMBO is distributed in the hope that it will be useful,\r\n")
49 TEXT("but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n")
50 TEXT("MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n")
51 TEXT("GNU General Public License for more details.\r\n")
52 TEXT("\r\n")
53 TEXT("You should have received a copy of the GNU General Public License\r\n")
54 TEXT("along with this program; if not, write to the Free Software\r\n")
55 TEXT("Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\r\n")
56 TEXT("\r\n")
57 TEXT("--------\r\n")
58 TEXT("\r\n")
59 TEXT("TOMBO\t: http://homepage2.nifty.com/thirami\r\n")
60 TEXT("GnuPG\t: http://www.gnupg.org/\r\n")
61 TEXT("Oniguruma: http://www.geocities.jp/kosako3/oniguruma/\r\n")
62 TEXT("Expat\t: http://www.libexpat.org/\r\n")
63 TEXT("\r\n")
64 TEXT("--------\r\n")
65 TEXT("\r\n")
66 TEXT("CREDITS:\r\n")
67 TEXT(" Program\r\n")
68 TEXT(" Tomohisa Hirami\r\n")
69 TEXT(" Improve document and convert to DocBook:\r\n")
70 TEXT(" Kevin Grover\r\n")
71 TEXT("\r\n")
72 TEXT("Thanks To:\r\n")
73 TEXT(" Gerry Busch\r\n")
74 TEXT(" Michael Efimov\r\n")
75 TEXT(" Shigeyuki Matsuki\r\n");
76
77
78 static LRESULT CALLBACK AboutDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
79 {
80 switch (message) {
81 case WM_INITDIALOG:
82 #if defined(PLATFORM_PKTPC) || defined(PLATFORM_WM5)
83 SHINITDLGINFO shidi;
84 shidi.dwMask = SHIDIM_FLAGS;
85 shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIPDOWN | SHIDIF_SIZEDLGFULLSCREEN;
86 shidi.hDlg = hDlg;
87 SHInitDialog(&shidi);
88 #endif
89 {
90 HWND hCopyright = GetDlgItem(hDlg, IDC_COPYRIGHT);
91 SetWindowText(hCopyright, pCopyright);
92 HWND hVersion = GetDlgItem(hDlg, IDC_VERSIONINFO);
93 SetWindowText(hVersion, TOMBO_VERSION_INFO);
94 return TRUE;
95 }
96 case WM_COMMAND:
97 if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL)) {
98 EndDialog(hDlg, LOWORD(wParam));
99 return TRUE;
100 }
101 break;
102 }
103 return FALSE;
104 }
105
106 void AboutDialog::Popup(HINSTANCE hInst, HWND hParent)
107 {
108 DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hParent, (DLGPROC)AboutDlgProc);
109 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26