С Новым годом! Форум программистов, компьютерный форум, киберфорум
С++ для начинающих
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.81/21: Рейтинг темы: голосов - 21, средняя оценка - 4.81
2 / 2 / 2
Регистрация: 08.05.2014
Сообщений: 66

Как создать справку к проекту?

09.05.2015, 11:33. Показов 4180. Ответов 6
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
делаю проект, нужно создать справку
как сделать в visual studio c++?
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
09.05.2015, 11:33
Ответы с готовыми решениями:

Как подключить *.chm справку к проекту
В общем нужно чтобы при нажатии на кнопку запускался *.chm файл. Embarcadero RAD Studio XE Я пробовал так: HWND hwnd...

Как привязать справку к проекту .net
Здравствуйте! Допустим у меня есть скомпилированный CHM. Теперь мне нужно сделать так чтобы при вызове справки на определенной форме (или...

Подключить .hlp (справку ) к проекту
Здравствуйте:/ У меня в папке проекта все файлы справки В окне свойств для гл. формы указала true у св-ва helpbutton А так...

6
 Аватар для Pancir
59 / 46 / 11
Регистрация: 16.09.2014
Сообщений: 124
09.05.2015, 11:42
Что туда должно входить?
www.doxygen.org
Может быть это вам подойдет, генерирует документацию из кода.

Есле нужна полноценная документация включая моделирование то нужно CASE средство на подобии Enterprise Architect.
0
 Аватар для SmittWesson
236 / 196 / 21
Регистрация: 04.06.2014
Сообщений: 1,309
09.05.2015, 11:55
А при чём вижил студия? Справка делается вне зависимости от среды, которую Вы используете.
Создание темы справки, делается в любом редакторе. Хоть в Ворде, хоть в Блокноте.
Компиляция справки в формат .hlp, осуществляется программами HCRRF - Microsoft Help Workshop для Windows и прогами HC31 или HCP для более низких версий винды.
Как включать объекты справки в Вашу программу, это уже отдельная тема.
0
2 / 2 / 2
Регистрация: 08.05.2014
Сообщений: 66
09.05.2015, 13:42  [ТС]
SmittWesson, Как включать объекты справки в программу?
0
Модератор
Эксперт С++
 Аватар для zss
13770 / 10963 / 6491
Регистрация: 18.12.2011
Сообщений: 29,240
09.05.2015, 14:11
См. документацию по WinHelp
Syntax

BOOL WinHelp( HWND hWndMain,
LPCTSTR lpszHelp,
UINT uCommand,
ULONG_PTR dwData
);
Parameters

hWndMain
A handle to the window requesting help. The WinHelp function uses this handle to keep track of which applications have requested help. If the uCommand parameter specifies HELP_CONTEXTMENU or HELP_WM_HELP, hWndMain identifies the control requesting help.
lpszHelp
The address of a null-terminated string containing the path, if necessary, and the name of the Help file that WinHelp is to display.

The file name can be followed by an angle bracket (>) and the name of a secondary window if the topic is to be displayed in a secondary window rather than in the primary window. You must define the name of the secondary window in the [WINDOWS] section of the Help project (.hpj) file.

uCommand
The type of help requested. For a list of possible values and how they affect the value to place in the dwData parameter, see the Remarks section.
dwData
Additional data. The value used depends on the value of the uCommand parameter. For a list of possible dwData values, see the Remarks section.
0
2 / 2 / 2
Регистрация: 08.05.2014
Сообщений: 66
09.05.2015, 14:29  [ТС]
ничего не понятно)
0
Модератор
Эксперт С++
 Аватар для zss
13770 / 10963 / 6491
Регистрация: 18.12.2011
Сообщений: 29,240
09.05.2015, 14:59
Создаете hlp файл.
Для его вызова используете функцию WinHelp.
ЕЕ параметры
hWndMain
handle окна запрашивающего помощь.

lpszHelp
Адрес hlp файла.

uCommand
Что именно надо показать
uCommand Action dwData
HELP_COMMAND Executes a Help macro or macro string. Address of a string that specifies the name of the Help macro(s) to run. If the string specifies multiple macro names, the names must be separated by semicolons. You must use the short form of the macro name for some macros because Windows Help does not support the long name.
HELP_CONTENTS Displays the topic specified by the Contents option in the [OPTIONS] section of the .hpj file. This command is for backward compatibility. New applications should provide a .cnt file and use the HELP_FINDER command. Ignored; set to 0.
HELP_CONTEXT Displays the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file. Contains the context identifier for the topic.
HELP_CONTEXTMENU Displays the Help menu for the selected window, then displays the topic for the selected control in a pop-up window. Address of an array of double word pairs. The first double word in each pair is the control identifier, and the second is the context identifier for the topic. The array must be terminated by a pair of zeros {0,0}. If you do not want to add Help to a particular control, set its context identifier to -1.
HELP_CONTEXTPOPUP Displays the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file in a pop-up window. Contains the context identifier for a topic.
HELP_FINDER Displays the Help Topics dialog box. Ignored; set to 0.
HELP_FORCEFILE Ensures that Windows Help is displaying the correct Help file. If the incorrect Help file is being displayed, Windows Help opens the correct one; otherwise, there is no action. Ignored; set to 0.
HELP_HELPONHELP Displays help on how to use Windows Help, if the Winhlp32.hlp file is available. Ignored; set to 0.
HELP_INDEX Displays the topic specified by the Contents option in the [OPTIONS] section of the .hpj file. This command is for backward compatibility. New applications should use the HELP_FINDER command. Ignored; set to 0.
HELP_KEY Displays the topic in the keyword table that matches the specified keyword, if there is an exact match. If there is more than one match, displays the Index with the topics listed in the Topics Found list box. Address of a keyword string. Multiple keywords must be separated by semicolons.
HELP_MULTIKEY Displays the topic specified by a keyword in an alternative keyword table. Address of a MULTIKEYHELP structure that specifies a table footnote character and a keyword.
HELP_PARTIALKEY Displays the topic in the keyword table that matches the specified keyword, if there is an exact match. If there is more than one match, displays the Topics Found dialog box. To display the index without passing a keyword, use a pointer to an empty string. Address of a keyword string. Multiple keywords must be separated by semicolons.
HELP_QUIT Informs Windows Help that it is no longer needed. If no other applications have asked for help, Windows closes Windows Help. Ignored; set to 0.
HELP_SETCONTENTS Specifies the Contents topic. Windows Help displays this topic when the user clicks the Contents button if the Help file does not have an associated .cnt file. Contains the context identifier for the Contents topic.
HELP_SETPOPUP_POS Sets the position of the subsequent pop-up window. Contains the position data. Use MAKELONG to concatenate the horizontal and vertical coordinates into a single value. The pop-up window is positioned as if the mouse cursor were at the specified point when the pop-up window was invoked.
HELP_SETWINPOS Displays the Windows Help window, if it is minimized or in memory, and sets its size and position as specified. Address of a HELPWININFO structure that specifies the size and position of either a primary or secondary Help window.
HELP_TCARD Indicates that a command is for a training card instance of Windows Help. Combine this command with other commands using the bitwise OR operator. Depends on the command with which this command is combined.
HELP_WM_HELP Displays the topic for the control identified by the hWndMain parameter in a pop-up window. Address of an array of double word pairs. The first double word in each pair is a control identifier, and the second is a context identifier for a topic. The array must be terminated by a pair of zeros {0,0}. If you do not want to add Help to a particular control, set its context identifier to -1.
dwData
Additional data.
1
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
09.05.2015, 14:59
Помогаю со студенческими работами здесь

Как создать Справку?
Хотел называт тему "как создать Help " не получилось .....:D Как можна сделать хелп? У кого нибудь есть Видео уроки по созданию хелп...

Как создать справку?
Как создать справка?

Как создать справку в delphi
что-то типа в меню нажимаешь пункт Справка, открывается окно и там тип подробная инструкция как решить задание, к которому эта справка...

Как создать справку (*.chm)
как создать справку?через *chm файл.пробую не чего не получается.делал через Hellp Workshop.может кто то делал?

TreeView как создать справку
Помогите пожалуйста. Я новичок. Нужно написать справочную систему на C++ Builder. Само дерево справочной системы уже есть. Вот вопрос: как...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
7
Ответ Создать тему
Новые блоги и статьи
Новый CodeBlocs. Версия 25.03
palva 04.01.2026
Оказывается, недавно вышла новая версия CodeBlocks за номером 25. 03. Когда-то давно я возился с только что вышедшей тогда версией 20. 03. С тех пор я давно снёс всё с компьютера и забыл. Теперь. . .
Модель микоризы: классовый агентный подход
anaschu 02.01.2026
Раньше это было два гриба и бактерия. Теперь три гриба, растение. И на уровне агентов добавится между грибами или бактериями взаимодействий. До того я пробовал подход через многомерные массивы,. . .
Учёным и волонтёрам проекта «Einstein@home» удалось обнаружить четыре гамма-лучевых пульсара в джете Млечного Пути
Programma_Boinc 01.01.2026
Учёным и волонтёрам проекта «Einstein@home» удалось обнаружить четыре гамма-лучевых пульсара в джете Млечного Пути Сочетание глобально распределённой вычислительной мощности и инновационных. . .
Советы по крайней бережливости. Внимание, это ОЧЕНЬ длинный пост.
Programma_Boinc 28.12.2025
Советы по крайней бережливости. Внимание, это ОЧЕНЬ длинный пост. Налог на собак: https:/ / **********/ gallery/ V06K53e Финансовый отчет в Excel: https:/ / **********/ gallery/ bKBkQFf Пост отсюда. . .
Кто-нибудь знает, где можно бесплатно получить настольный компьютер или ноутбук? США.
Programma_Boinc 26.12.2025
Нашел на реддите интересную статью под названием Anyone know where to get a free Desktop or Laptop? Ниже её машинный перевод. После долгих разбирательств я наконец-то вернула себе. . .
Thinkpad X220 Tablet — это лучший бюджетный ноутбук для учёбы, точка.
Programma_Boinc 23.12.2025
Рецензия / Мнение/ Перевод Нашел на реддите интересную статью под названием The Thinkpad X220 Tablet is the best budget school laptop period . Ниже её машинный перевод. Thinkpad X220 Tablet —. . .
PhpStorm 2025.3: WSL Terminal всегда стартует в ~
and_y87 14.12.2025
PhpStorm 2025. 3: WSL Terminal всегда стартует в ~ (home), игнорируя директорию проекта Симптом: После обновления до PhpStorm 2025. 3 встроенный терминал WSL открывается в домашней директории. . .
Как объединить две одинаковые БД Access с разными данными
VikBal 11.12.2025
Помогите пожалуйста !! Как объединить 2 одинаковые БД Access с разными данными.
Новый ноутбук
volvo 07.12.2025
Всем привет. По скидке в "черную пятницу" взял себе новый ноутбук Lenovo ThinkBook 16 G7 на Амазоне: Ryzen 5 7533HS 64 Gb DDR5 1Tb NVMe 16" Full HD Display Win11 Pro
Музыка, написанная Искусственным Интеллектом
volvo 04.12.2025
Всем привет. Некоторое время назад меня заинтересовало, что уже умеет ИИ в плане написания музыки для песен, и, собственно, исполнения этих самых песен. Стихов у нас много, уже вышли 4 книги, еще 3. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru