Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CHM help in VFP 5
Message
De
12/06/2001 10:43:20
 
 
À
10/06/2001 15:19:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00516509
Message ID:
00518382
Vues:
13
Took some time to look at my code and found that I had miss-typed GetDesktopWindow! (sys1.finger_check error!) Again thats for your help, this is working perfectly!!!!

>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
Répondre
Fil
Voir

Click here to load this message in the networking platform