Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CHM help in VFP 5
Message
De
10/06/2001 15:19:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00516509
Message ID:
00517566
Vues:
23
THANKS!! It works great when I test the code in a simple .prg.

However, when I but it in my project and build the project, I get a message that says GetDesktopWindow is missing. The simple complied prg finds and loads the C:\WINDOWS\SYSTEM\USER32.DLL, what needs to be do so that the project can make this association?

>Hi!
>You can use HtmlHelp API:
>
>#define HH_DISPLAY_TOPIC 0
>#define HH_HELP_CONTEXT 15
>
>Declare integer HtmlHelp in "HHCtrl.ocx" ;
> integer hwndCaller, string pszFile, ;
> integer uCommand, integer dwData
>Declare integer GetDesktopWindow in win32api
>
>HtmlHelp(GetDesktopWindow(), "helpfile.chm", HH_DISPLAY_TOPIC, 0)
>
>dwData can contain topic ID or context ID for correspinding command.
>
>Alexander.
>
>>Is there a way to call a compiled help file (CHM) in Visual Fox version 5? I can get the main welcome screen to display, but would like to know if there is code that can call up help by context number?
____________________________________________

Norm Peterson

It's a dog eat dog world out there,
and I'm wear'n milk bone underware!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform