CODE FOR MICROSOFT's HYPERTEXT HELP instead of WinHelp?
Microsoft has introduced their new HyperText Help
System that replaces the outdated WinHelp system.
As usual, Microsoft has neglected us FoxPro programmers
in providing adequate SAMPLE CODE to call their new
hypertext help system from Visual FoxPro!
I wrote the following code to make the necessary HtmlHelp API
calls from FoxPro to laumch a HELP WINDOW that does work, but
this code does not allow me to set the help window specifications.
Does anybody know the correct code to call the HELP WINDOW that
would allow you to set the help window specifications programmatically
INSTEAD of including the specifications in the ".chm" help file????
===============CODE TO LAUNCH HELP WINDOW==============
declare long ShellExecute in "shell32.dll" ;
long hwnd, ;
string lpszOp, ;
string lpszFile, ;
string lpszParams, ;
string lpszDir, ;
declare long GetDesktopWindow in "win32api"
declare long GetForegroundWindow in "win32api"
declare integer HtmlHelp in hhctrl.ocx ;
long hwndCaller, ;
string pszFile, ;
long uCommand, ;
hDCScreen = GetForegroundWindow()
mHelpW = HtmlHelp(hDCScreen, p_pszFile, 0, 0)
William SerGio, The infomercial King(tm)