How to add support of HTML help files (.chm) on Delphi XE2?

前端 未结 3 345
清歌不尽
清歌不尽 2020-12-10 23:12

How to add support of HTML help files (.chm) on Delphi XE2? We need to use A-links (A-keywords) on HelpContext property of every control to lookup help pages. D

3条回答
  •  囚心锁ツ
    2020-12-10 23:47

    Not sure how Xe2 viewer works (I'm on 2007) but I just use Eric Granges port of the Microsoft HTML help API, which unsurprisingly, is called HTMLhelpAPI.pas.

    You can call an Alink using the function

    ChmShowTopic(const filename,atopic:string):HWND;

提交回复
热议问题