Code: Select all
#include "FiveWin.ch"
function Main()
DEFINE WINDOW oWnd FROM 10,10 TO 20,30
@3,8 BUTTON "Help" OF oWnd SIZE 50,20 ACTION (HtmlHelp(0,"c:\fwh\manual\fwclass.chm",2,0))
ACTIVATE WINDOW oWnd
Thanks
Code: Select all
#include "FiveWin.ch"
function Main()
DEFINE WINDOW oWnd FROM 10,10 TO 20,30
@3,8 BUTTON "Help" OF oWnd SIZE 50,20 ACTION (HtmlHelp(0,"c:\fwh\manual\fwclass.chm",2,0))
ACTIVATE WINDOW oWnd
Code: Select all
DLL32 Function HTMLHelp( ;
hWnd As LONG, cChmFile As LPSTR, nCommand As LONG, nTopic As LONG ) ;
As LONG PASCAL From "HtmlHelpA" Lib "hhctrl.ocx"
DLL32 Function HTMLHelpCtx( ;
hWnd As LONG, cChmFile As LPSTR, nCommand As LONG, cTopic As LPSTR ) ;
As LONG PASCAL From "HtmlHelpA" Lib "hhctrl.ocx"
DLL32 Function HTMLHelpPopup( ;
hWnd As LONG, cChmFile As LPSTR, nCommand As LONG, @sPopUp As LPSTR ) ;
As LONG PASCAL From "HtmlHelpA" Lib "hhctrl.ocx"