PPCChmReader

所属分类:Windows CE
开发工具:Visual C++
文件大小:171KB
下载次数:109
上传日期:2007-03-12 23:25:53
上 传 者699513
说明:  Pocket PC CHM 文件阅读器 (源代码)
(Pocket PC CHM file viewer (source code))

文件列表:
254667 (0, 2011-02-18)
254667\PocketPC (0, 2011-02-18)
254667\PocketPC\CHM Reader (0, 2011-02-18)
254667\PocketPC\CHM Reader\CeTitleBar.cpp (4585, 2004-01-22)
254667\PocketPC\CHM Reader\CeTitleBar.h (1764, 2004-01-22)
254667\PocketPC\CHM Reader\CHM Reader.cpp (5012, 2004-01-22)
254667\PocketPC\CHM Reader\CHM Reader.h (1264, 2004-01-19)
254667\PocketPC\CHM Reader\CHM Reader.ico (1078, 2004-01-09)
254667\PocketPC\CHM Reader\CHM Reader.rc (11983, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vcb (197632, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vcc (3730, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vcl (14961, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vco (55808, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vcp (28362, 2004-02-18)
254667\PocketPC\CHM Reader\CHM Reader.vcw (550, 2004-01-21)
254667\PocketPC\CHM Reader\CHM ReaderDoc.cpp (2101, 2004-02-18)
254667\PocketPC\CHM Reader\CHM ReaderDoc.h (1744, 2004-01-12)
254667\PocketPC\CHM Reader\CHM ReaderView.cpp (5953, 2004-02-18)
254667\PocketPC\CHM Reader\CHM ReaderView.h (2150, 2004-02-18)
254667\PocketPC\CHM Reader\CHMFile.cpp (12192, 2004-02-18)
254667\PocketPC\CHM Reader\CHMFile.h (2294, 2004-02-18)
254667\PocketPC\CHM Reader\CHMLib (0, 2011-02-18)
254667\PocketPC\CHM Reader\CHMLib\AUTHORS (240, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\ChmLib.dsp (3031, 2002-10-09)
254667\PocketPC\CHM Reader\CHMLib\ChmLib.dsw (1683, 2002-10-09)
254667\PocketPC\CHM Reader\CHMLib\ChmLib.sln (3789, 2003-12-31)
254667\PocketPC\CHM Reader\CHMLib\ChmLib.vcproj (4275, 2003-12-31)
254667\PocketPC\CHM Reader\CHMLib\chm_http.c (9017, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\chm_lib.cpp (51082, 2004-01-13)
254667\PocketPC\CHM Reader\CHMLib\chm_lib.h (5692, 2004-01-09)
254667\PocketPC\CHM Reader\CHMLib\COPYING (27046, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\enumdir_chmLib.c (3547, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\enumdir_chmLib.dsp (4460, 2002-10-09)
254667\PocketPC\CHM Reader\CHMLib\enumdir_chmLib.vcproj (4503, 2003-12-31)
254667\PocketPC\CHM Reader\CHMLib\enum_chmLib.c (2919, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\enum_chmLib.dsp (4446, 2002-10-09)
254667\PocketPC\CHM Reader\CHMLib\enum_chmLib.vcproj (4473, 2003-12-31)
254667\PocketPC\CHM Reader\CHMLib\extract_chmLib.c (5162, 2002-10-10)
254667\PocketPC\CHM Reader\CHMLib\extract_chmLib.dsp (4460, 2002-10-09)
254667\PocketPC\CHM Reader\CHMLib\extract_chmLib.vcproj (4503, 2003-12-31)
... ...

Introduction I have started to study for the MCAD. So after getting the books (I cannot afford the training courses), I started to read. However, as life is busy, I either had to carry a number of heavy books around, or sit in front of a PC which is not always possible. I was then lucky enough to get a Pocket PC for Christmas. But Pocket PCs do not come with a CHM Reader, and the ones available on the web are not free, or do not handle large CHM files well. So I decided to write my own and this is the result. A FREE CHM Reader which can handle large CHM files (Tested up to 14Mb in size). This program has only been tested on the Pocket PC 2003 on an IPaq 5550. The Code This CHM Reader is a MFC Doc List application, which uses a number of good libraries. Virtual Office Systems Incorporated - VOImage, VOString & VORegistry classes Vassili Philippov - CSTHtmlDialog Jed Wing - The CHMLib Library Jo?o Paulo Figueira [joao.figueira@vianw.pt] - General Help Thanks to all these people for the great code they have contributed to the web. CHMReader first displays a DocList (MFC's) of all the CHM files in the selected directory of the PocketPC. When the user selects one of them, MFC creates a new CCHMReaderDoc instance which will then use CCHMFile class. This class handles the CHMLib library. The CHM file is then opened, and the CCHMFile class will build a list of all the files contained in the CHM file. It also builds a Tree list of the contents. This is then displayed in the CCHMReaderView class. This shows the contents of the CHM File. The user can then select one of the items in the contents, and a new dialog is displayed. This dialog contains the Pocket PC Internet Explorer control. The HTML file is extracted from the CHM file using the CCHMFile class & the CHMLib library. The HTML is also scanned for any Style Sheet entries. These are then also extracted from the CHM file. Then the IE control is initialized with the HTML for display. One thing to note is that the images are extracted from the CHM file as the IE control needs them. When the IE control loads the HTML, it will ask for each image in turn by way of a notification message. When I handle the notification, I simply extract the image from the CHM file into a buffer. It is then uncompressed using the VOImage class. It is then passed back to the IE control. Extras I also added a few simple extras like the ability to change the text size, toggle 'Clear Text' & 'Fit to Window' as these are all implemented by the IE control. I also added '<' and '>' buttons to the toolbar to allow the user to navigate back and forth in the contents list easily. Also note: If one CHM file requires files from other CHM files (Windows CHM Help Files) then if the files are present, CHMReader will try to get the files required, but it does not always. Installation Just copy the CHMReader.EXE & any CHM files to your PocketPC, and run. Build Environment To build the CHMReader, I used embedded Visual C V4 SP2. History V1.0 - 9 Feb 2004 - First release V1.01 -11 Feb 2004 - Bug fixes - Incorrectly handling images which where not found in CHM file. V1.03 - 18 Feb 2003 - Bug fixes - Pocket Internet Explorer does not handle script or XML tags, so I removed them from the HTML code before I pass it to the HTML code. Also links to other parts of the CHM file did not work correctly. Now fixed. 24 Feb 2003 - Added download for PocketPC2002 OS

近期下载者

相关文件


收藏者