BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML Help Files

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Gary
Guest





PostPosted: Fri Jan 09, 2004 4:08 pm    Post subject: HTML Help Files Reply with quote



Ok, I've entered the modern era of Help files and wrote a chm instead of
Winhelp but now, I can't get the program to open it. I tried WinExec with
the chm file name but it doesn't do anything. I tried the HelpCommand and it
says its not a help file.

What's the secret?



Back to top
Rhys Sage
Guest





PostPosted: Fri Jan 09, 2004 4:38 pm    Post subject: Re: HTML Help Files Reply with quote



I write all my helpfiles in html. I figure programs are hard enough to write
so why be a masochist?

--
Yours

Rhys

Join the anti-spam project:
http://groups.yahoo.com/group/Anti-Spam-Development/
or view my website:
http://www.sageworld.freeserve.co.uk

"Software is always designed to be operated by the average 8 year old.
Sadly,
most users never aspire to that level of intelligence."



Back to top
Pete Fraser
Guest





PostPosted: Fri Jan 09, 2004 5:45 pm    Post subject: Re: HTML Help Files Reply with quote



There is a nice (free) Delphi based control
at http://www.helpware.net/delphi/index.html
which allows you to show chm files.
--
Rgds Pete
=================================
GenHelp: The Component Authors help writer
Web: www.frasersoft.net/genhelp
=================================

"Gary" <nospam (AT) nospam (DOT) net> wrote

Quote:
Ok, I've entered the modern era of Help files and wrote a chm instead of
Winhelp but now, I can't get the program to open it. I tried WinExec with
the chm file name but it doesn't do anything. I tried the HelpCommand and
it
says its not a help file.



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Jan 09, 2004 5:49 pm    Post subject: Re: HTML Help Files Reply with quote


"Gary" <nospam (AT) nospam (DOT) net> wrote

Quote:
I tried WinExec with the chm file name but it doesn't do anything.

Try using ShellExecute() instead.

Quote:
I tried the HelpCommand

That only works for WinHelp files. HTMLHelp has a completely different API
of its own. You can download the HTMLHelp API from Microsoft and then
include its htmlhelp.h header file into your code to gain access to its
functions.

Note that Microsoft's static .lib files are not compatible with Borland's
compilers, so have a look at the following page for downloading a
third-party solution to using HTMLHelp under BCB:

The C++ Builder HH Kit
http://www.helpware.net/downloads/index.htm


Gambit



Back to top
Frederik Slijkerman
Guest





PostPosted: Sat Jan 10, 2004 3:04 pm    Post subject: Re: HTML Help Files Reply with quote


Quote:
Note that Microsoft's static .lib files are not compatible with Borland's
compilers, so have a look at the following page for downloading a
third-party solution to using HTMLHelp under BCB:

The C++ Builder HH Kit
http://www.helpware.net/downloads/index.htm

Beware: IIRC this links statically to the HTML help DLL so your
program will not run at all on computers that do not have HTML
help installed (correctly).

Frederik.



Back to top
Richard
Guest





PostPosted: Sat Jan 10, 2004 4:20 pm    Post subject: Re: HTML Help Files Reply with quote

Have you tried something like:

HtmlHelp(hParentWindow, _T("helpfilename::topic.htm"), HH_DISPLAY_TOPIC,
NULL) ;

"Gary" <nospam (AT) nospam (DOT) net> wrote

Quote:
Ok, I've entered the modern era of Help files and wrote a chm instead of
Winhelp but now, I can't get the program to open it. I tried WinExec with
the chm file name but it doesn't do anything. I tried the HelpCommand and
it
says its not a help file.

What's the secret?






Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sat Jan 10, 2004 9:28 pm    Post subject: Re: HTML Help Files Reply with quote


"Frederik Slijkerman" <idontwant (AT) spam (DOT) com> wrote


Quote:
Beware: IIRC this links statically to the HTML help DLL
so your program will not run at all on computers that do
not have HTML help installed (correctly).

You can always load htmlhelp.ocx manually ar runtime, you don't need to use
the .lib file. In fact, Example 2 in the download shows exactly that.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.