开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜