Indigo Rose Software
  #1  
Old 03-06-2008
ChrisF's Avatar
ChrisF ChrisF is offline
Forum Member
 
Join Date: Mar 2008
Location: New Zealand
Posts: 5
Star Support for Help API

I note that TrueUpdate screens can show a help button, but there does not appear to be support for the standard windows help APIs.
In particular, adding support for the HTML Help (.chm files) would be appreciated.

Details for the API can be found by running the following from a commandLine window:
Code:
hh mk:@MSITStore:C:\WINDOWS\Help\api.chm::/ov_html_help_api_overview.htm
Or, see the whole HTML Help helpfile with this command:
Code:
hh mk:@MSITStore:htmlhelp.chm
(Calling hh.exe directly sometimes has elevation issues on Vista.)

That way, when one adds a Help button, it will be easy to do something useful with it. (c:

Also, adding an action along the lines of OnF1Pressed would also be useful, or adjusting the Help button so it is activated by F1 as well as via the &H in it's caption.

Last edited by ChrisF; 03-06-2008 at 05:13 PM.
Reply With Quote
  #2  
Old 04-10-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,900
Quote:
Originally Posted by ChrisF View Post
That way, when one adds a Help button, it will be easy to do something useful with it. (c:

Also, adding an action along the lines of OnF1Pressed would also be useful, or adjusting the Help button so it is activated by F1 as well as via the &H in it's caption.
Chris:

Not sure if this is at all helpful -- and I haven't tested it -- but you needn't call hh.exe --

My apps make a call to
DECLARE INTEGER HtmlHelp ;
IN hhctrl.ocx ;
AS HtmlHelpA;
INTEGER hwndCaller , ;
STRING pszFile, ;
INTEGER uCommand, ;
INTEGER dwData

Basically you pass it the help file and context id.

I haven't tried to convert this to pure lua or a dll.callfunction call -- but it might get you started.
__________________
Reply With Quote
  #3  
Old 04-10-2008
ChrisF's Avatar
ChrisF ChrisF is offline
Forum Member
 
Join Date: Mar 2008
Location: New Zealand
Posts: 5
I hadn't considered calling it directly myself, but I imagine that will also work.
It'd just be nice if there was a wrapper for it.

Either way, how does one capture the user pressing F1, since at the moment it does nothing..?
Reply With Quote
  #4  
Old 04-10-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,900
Quote:
Originally Posted by ChrisF View Post
I hadn't considered calling it directly myself, but I imagine that will also work.
It'd just be nice if there was a wrapper for it.

Either way, how does one capture the user pressing F1, since at the moment it does nothing..?
For now; I think you're stuck with using the Help Button alone.

I recall a few years ago where we had to update a bit of code wrapped around a custom object that the source no longer existed for -- the coder we used was able to basically trap all keycodes before the object processed them. so basically he took the keycode, processed it; and passed it on -- installing a keyboard hook in real time.

I'll try to contact him to see if he has any ideas.
__________________
Reply With Quote
  #5  
Old 06-17-2008
ChrisF's Avatar
ChrisF ChrisF is offline
Forum Member
 
Join Date: Mar 2008
Location: New Zealand
Posts: 5
Grin progress?

Is there any progress on this?

We are beginning to roll out usage of TrueUpdate to more projects, and having F1=Help be global across every screen the user sees would be really useful...
Reply With Quote
  #6  
Old 08-15-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Your suggestion has been submitted for consideration, thank you.

REF: 17681
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Press Release: Indigo Rose Launches New Online Support System Colin Announcements & News 0 02-02-2004 04:51 PM
HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation Support Setup Factory 6.0 Knowledge Base 0 10-30-2002 02:55 PM
INFO: Visual C++ 6.0 (SP4) Runtime Support Module Support Setup Factory 6.0 Knowledge Base 0 10-30-2002 01:53 PM
INFO: DCOM 95 1.3 Runtime Support Module Support Setup Factory 6.0 Knowledge Base 0 10-30-2002 01:38 PM
INFO: MDAC 2.7 Runtime Support Module Support Setup Factory 6.0 Knowledge Base 0 10-17-2002 04:55 PM


All times are GMT -6. The time now is 11:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software