Solved

HELP-File programming with Visual C++...

Posted on 2000-05-18
4
184 Views
Last Modified: 2010-04-02
I want to create a helpfile for my programmed application but I forgot to generate a context-help using the application-wizard. What is the best way to insert a helpfile without generating a new application with the application wizard ? It is not necessary, that the help-file is context-specific. I want to create a help-file using MS Word and I want to insert some snaphots. What is the best way ???
0
Comment
Question by:alexott
  • 2
4 Comments
 
LVL 1

Expert Comment

by:tvanceplus
ID: 2822102
The best way to use help when the help was not added into AppWizard is to use the html help that comes with VC++. You can find it in the [CD Root]\htmlhelp directory on the CD.

Install HtmlHelp on your computer. Then put together a simple help system in the HtmlHelp program. (This is not difficult; you can create a page in word and the save as web page.) Then you need to make "htmlhelp.lib" one of your project files. Finally, set up the path of the HtmlHelp.h file as one of your default directories. Then this code will work.


....

#include <htmlhelp.H>


....


CString path="c:\myhtmlhelp.chm";

HtmlHelp(NULL,path,NULL,0);


The HtmlHelp(...) function actually brings up the help screen.

I hope this helps, good luck!

tvanceplus
0
 

Author Comment

by:alexott
ID: 2826713
I Cannot Find any HTML-Help with my authors edition of visual c++.
0
 

Accepted Solution

by:
bandl earned 100 total points
ID: 2826979

Take a look here: (hopefully this link works):

http://msdn.microsoft.com/library/default.asp?URL/library/tools/htmlhelp/chm/hh1start.htm

or

go to msdn.microsoft.com and search for HTMLHELP to get information and download links for HTML Help.

I prefer HTML Help because its in the fairly common HTML format and because the help browser actually lets you link to web sites.

Caution: I'm not sure specifics but Internet Explorer 5 must be installed on the computer for the help to work (Win '98 might work without Explorer). There are patches provided to support this functionality if IE5 isn't on the computer.


I've never tried to actually add windows help (non-html) back into a project but I suspect if you were to study it a bit by creating two identical apps using the wizard, one with, one without, it wouldn't take long to see the difference. A couple of files and some command handlers in the main app object I suspect.

Good luck
0
 

Author Comment

by:alexott
ID: 2855693
Answer accepted
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now