Share via


About Commands

The HTML Help API supports a set of commands (uCommand values) that enable you to access functionality programmatically.

The most basic of the commands is HH_DISPLAY_TOPIC, which enables you to open a compiled help (.chm) file in a specific help window and display a specific topic within the help file.

Commands quick reference

Category Commands
Window types
  • [HH_CLOSE_ALL](hh-close-all-command.md)
  • [HH_GET_WIN_HANDLE](hh-get-win-handle-command.md)
  • [HH_GET_WIN_TYPE](hh-get-win-type-command.md)
  • [HH_SET_WIN_TYPE](hh-set-win-type-command.md)
Context-sensitive help
  • [HH_DISPLAY_TEXT_POPUP](hh-display-text-popup-command.md)
  • [HH_DISPLAY_TOPIC](hh-display-topic-command.md)
  • [HH_HELP_CONTEXT](hh-help-context-command.md)
  • [HH_TP_HELP_CONTEXTMENU](hh-tp-help-contextmenu-command.md)
  • [HH_TP_HELP_WM_HELP](hh-tp-help-wm-help-command.md)
Keyword lookups
  • [HH_ALINK_LOOKUP](hh-alink-lookup-command.md)
  • [HH_KEYWORD_LOOKUP](hh-keyword-lookup-command.md)
Navigation pane
  • [HH_DISPLAY_INDEX](hh-display-index-command.md)
  • [HH_DISPLAY_SEARCH](hh-display-search-command.md)
  • [HH_DISPLAY_TOC](hh-display-toc-command.md)
Error messages
  • [HH_GET_LAST_ERROR](hh-get-last-error-command.md)
Contents synchronization
  • [HH_SYNC](hh-sync-command.md)
Single threading
  • [HH_INITIALIZE](hh-initialize-command.md)
  • [HH_PRETRANSLATEMESSAGE](hh-pretranslatemessage-command.md)
  • [HH_UNINITIALIZE](hh-uninitialize-command.md)

 

About the HTML Help API