Link to home
Start Free TrialLog in
Avatar of SixString
SixString

asked on

Can't get WinHelp to find my context identifier

I want to call my help file from a page in my property sheet, bringing up the correct help topic.

My call looks like this:

   ::WinHelp (((NMHDR*) lParam)->hwndFrom, "WinTAP.HLP", HELP_CONTEXT, 0x20096);

My .hpj file looks like:

[MAP]
   #include ..\..\..\MFC\include\afxhelp.hm
   #include <WinTAP.hm>
   phase_title=0x20096

"phase_title" is the name of one of the topics in my help file.  The links to "phase_title" work from within the help file, but not from my app:  I get a "Topic does not exist error" when WinHelp is called.

What am I doing wrong?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of GloriousRain
GloriousRain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SixString
SixString

ASKER

Actually, all I needed to do was change my Topic IDs to match those in the .hm file.

Thanks.