|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Fri Jan 28, 2005 6:52 am Post subject: Using context sensitive help with Ftn95 and Clearwin |
|
|
I am using html help in Ftn95 with clearwin+ in a very simple way, for example
i=winio@('%ca[PROGRAM Help]%bg[grey]%ww[thin_border]&')
I=winio@('%fn[Arial]%ts&',1.0D0)
i=winio@('%mn[Back,History,EXIT]&',
+ 'PREVIOUS_TEXT','TEXT_HISTORY','EXIT')
i=winio@('%pv%60.20ht@',helptopic)
The result is not very professional formatted html output window.
Now, I would like to use a .hlp Windows help file in my program. As far as I can see I can use the clearwin callback "help_contents" to display the content of the help file. Nevertheless, I also will display context sensitive help in special menus. How can I use my Microsoft .hlp file? Can I specify the topic title or the context number anywhere?
|
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Feb 21, 2005 7:32 am Post subject: Using context sensitive help with Ftn95 and Clearwin |
|
|
There is no direct ClearWin+ support for Microsoft .hlp files.
You can get context sensitive help using %`th but you must provide the help text in the code.
Additional options for %th are described in the notes for %di (see "Using dialog resources" in the FTN95 help file).
In order to use a Microsoft .hlp file, you need to call the Windows API function WinHelp which is listed in win32api.ins. This will enable you to access given topics in a help file. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|