Urgent Help Needed here!

Hi ,

I have a problem. I have attached a menu to my dialog based application called MyDlgApp. From the "Help" menu item, if I select "Help" submenu I am able to display the help contents using ::WinHelp() SDK function. Now I want to implement the same functionality for F1 key. I added accelerator for this "Help" submenu but it didn't work. Then I added code in PreTranslateMessage() for WM_KEYDOWN message. It is working fine. But it is also giving message (message box) that,

"Cannot find the C:\Products\Development\MyDlgApp\Release\MyDlgApp.hlp file. Do you want to try to find this file your self?"

Actually I am keeping helpfiles in HELP directory which is parallel to the EXE path.

I am not understandng why this messagebox is poping after displaying the help. How to remove this?

Thanks,

Narayana Murty.
Don't forget to rate this post if it helped you!
[931 byte] By [Narayana Murty] at [2007-11-17 11:50:06]
# 1 Re: Urgent Help Needed here!
Looks like you need to put the help files where the program expects to find them or change the path where they look. I do not know how to change the path, it would be easier to move the help to the expected path, eh?
JohnDavidHanna at 2007-11-10 8:06:56 >
# 2 Re: Urgent Help Needed here!
I already tried the idea which you gave, but no use.

By mistakenly I have delete this file long back.
The problem is the Help file created by the application now not creating when I compile the application. What to do to create the help file when compiling?

Thanks ,
Narayana Murty.

Narayana Murty.
Don't forget to rate this post if it helped you!
Narayana Murty at 2007-11-10 8:07:57 >
# 3 Re: Urgent Help Needed here!
I got the solution.

Thanks,
Bye.

Narayana Murty.
Don't forget to rate this post if it helped you!
Narayana Murty at 2007-11-10 8:08:56 >
# 4 Re: Urgent Help Needed here!
Narayana
sorry guy I have added help to a program yet.
JohnDavidHanna at 2007-11-10 8:10:01 >