Наши проекты:
Журнал · Discuz!ML · Wiki · DRKB · Помощь проекту |
||
ПРАВИЛА | FAQ | Помощь | Поиск | Участники | Календарь | Избранное | RSS |
[3.135.183.1] |
|
Сообщ.
#1
,
|
|
|
Как из программы вызвать файл хэлпа в формате chm (вместо обычного)?
|
Сообщ.
#2
,
|
|
|
Можно, конечно, гемороиться и делать так (незабудь подключить библиотеки):
Цитата Example The following example calls the HH_DISPLAY_TOPIC command to open the help file named Help.chm and display its default topic in the help window named Mainwin. Generally, the help window specified in this command is a standard HTML Help Viewer. HWND hwnd = HtmlHelp( GetDesktopWindow(), "c:\\Help.chm::/Intro.htm>Mainwin", HH_DISPLAY_TOPIC, NULL) ; Но можно и так: Цитата ShellExecute(NULL, "open", g_strProgramDir + pszHelpFile, 0, 0, SW_SHOWNORMAL); |