
Urgent Help Needed-Calling the help file.
Can anyone help me?
I've written a program for windows using straight C (NO C++ OR
Visual C++,
just the stuff in Petzold's "Programming Windows 95"). I've got my help file
all compiled and the proper setup with my menu's and everything. What I need
to know is what is the best way to actually execute or call the help file.
Up till now, when a IDM_HELP message is recieved, I execute the statement:
ShellExecute(hwnd, "Open", "helpfile.hlp", NULL, NULL, SW_SHOWNORMAL);
When this is done, the help file comes up fine..but only once. Once the file
has been closed, repeating the open command does nothing.
Is this the right way to be doing this? The reference material I have
doesn't give any thing on this. Any help?