|
|
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
Можно ли впихнуть chm в екзешник ?? Если да где бы примерчик откопать ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.06.2004, 16:14 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
Выдержка из MSDN The HTML Help API has one function that displays a help window. Using the API commands, you can specify which topic to display in the help window, whether the help window is a three-pane Help Viewer or a pop-up window, and whether the HTML topic file should be accessed via a context ID, an HTML Help URL, or a Keyword link (KLink) lookup. HTML Help API syntax HWND HtmlHelp( HWND hwndCaller, LPCSTR pszFile, UINT uCommand, DWORD dwData) ; Parameters hwndCaller Specifies the handle (hwnd) of the window calling HtmlHelp(). The help window is owned by this window. When the help window is closed, HtmlHelp() will return focus to the owner unless the owner is the desktop. If hwndCaller is the desktop, then the operating system determines where focus is returned. In addition, if HtmlHelp() sends any notification messages from the help window, they are sent to hwndCaller as long as you have enabled notification message tracking in the help window definition. pszFile Depending on the uCommand value, specifies the file path to either a compiled help (.chm) file, or a topic file within a specified help file. A window type name can also be specified, preceded with a greater-than (>) character. If the specified command does not require a file, this value may be NULL. uCommand Specifies the command to complete. dwData Specifies any data that may be required, based on the value of the uCommand parameter. Return Value Depending on the specified uCommand and the result, HtmlHelp() returns one or both of the following: The handle (hwnd) of the help window. NULL. In some cases, NULL indicates failure; in other cases, NULL indicates that the help window has not yet been created. 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) ; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.06.2004, 20:30 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
Да я знаю как отобразить этот Chm. Вопрос в том как запихнуть его в исходный ехе файл. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2004, 12:44 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
А может и exe и chm файлы поместить в инсталятор. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2004, 14:36 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
Хороший вопрос... Сходу могу предложить только засунуть в ресурсы исходные html-страницы, к ним можно обращаться по Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2004, 16:16 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
То что это возможно доказывает сам HTML Help Workshop. Его файлов помощи нет в каталоге а в програме он их использует. Значит они в какой то dll или exe. А запихнуть его туда мне нужно чтобы его нельзя было декомпилировать. Может кто подскажет что ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2004, 13:53 |
|
||
|
работа с HTML Help
|
|||
|---|---|---|---|
|
#18+
2 Вентик Если есть готовый пример, то посмотри откуда он берет файлы помощи. Для этого открываешь системное меню, там Jump yo URL, и Current URL. Если спрятать файл р ресурсы, то это не поможет от декомпиляции. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.06.2004, 09:18 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=441&tid=2034726]: |
0ms |
get settings: |
7ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
31ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 224ms |
| total: | 342ms |

| 0 / 0 |
