How to embed HTML help in a form window
I'm wondering if it is possible to display topics from a CHM help file in a form of my Delphi application? I know how to u开发者_运维问答se the htmlhelp api but it launches the external help viewer. I would like to display the help topics within a form
Not tested, but...
If you pass the help url (like ms-help://embarcadero.rs2009/delphivclwin32/System__TDateTime__-@TDateTime_@const.html
) to an embedded WebBrowser, it should work.
Another solution in case you don't want to use MSIE, could be to port the chm reader library from Free Pascal. It is written in the Delphi dialect, and should be fairly easily, and allows you to extract HTMLs from the CHM (and compress back if necesary) without additional external dlls.
精彩评论