RE: Display .chm Help Files from Euphoria
- Posted by Ron Tarrant <rtarrant at sympatico.ca> Oct 10, 2002
- 441 views
I did actually end up figuring out which library to call and how to call it, but I was still puzzling out bringing up individual topics. Thanks, Matt! -Ron T. Matthew Lewis wrote: > If you just want to open it (in a separate window), you can do the > following: > > -- HtmlHelp function for opening context sensitive help > constant > hh = open_dll( "hhctrl.ocx" ), > HtmlHelp = define_c_func( hh, "HtmlHelpA", {C_UINT, C_POINTER, > C_UINT, C_LONG}, C_LONG), > HH_DISPLAY_TOPIC = 0, > HH_HELP_CONTEXT = #F > > Then use: > > void = c_func( HtmlHelp, {0, pszFile, HH_HELP_CONTEXT, helpcontext} ) > > Where pszFile is a pointer to the filename, and helpcontext is the > context > id number for the specific help item. > > Matt Lewis > >