Guidance
指路人
g.yi.org
software / rapidq / Examples / help / RunHelp / CHM Files.htm

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
CHM Files

CHM Files

 

Winhelp does not work with CHM files, but HtmlHelp does. The following are constants used by HtmlHelp to display parts of a CHM file:

 

Const HH_DISPLAY_TOPIC = &H0

Const HH_SET_WIN_TYPE = &H4

Const HH_GET_WIN_TYPE = &H5

Const HH_GET_WIN_HANDLE = &H6

Const HH_DISPLAY_TEXT_POPUP = &HE   ' Display string resource ID or text in a pop-up window.

Const HH_HELP_CONTEXT = &HF         ' Display mapped numeric value in  dwData.

Const HH_TP_HELP_CONTEXTMENU = &H10 ' Text pop-up help, similar to WinHelp's HELP_CONTEXTMENU.

Const HH_TP_HELP_WM_HELP = &H11     ' text pop-up help, similar to WinHelp's HELP_WM_HELP.

Const HH_CLOSE_ALL = &H12

Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByVal dwData As Long) As Long

 

See example code for how this works.

掌柜推荐
 
 
¥860.00 ·
 
 
¥900.00 ·
 
 
¥810.00 ·
 
 
¥317.00 ·
 
 
¥1,370.00 ·
 
 
¥660.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-01-05 17:09:46