Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    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 04:13 PM.

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    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.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    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..?

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    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.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    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...

  6. #6
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Your suggestion has been submitted for consideration, thank you.

    REF: 17681
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  7. #7
    Join Date
    Apr 2010
    Posts
    1

    hello every body

    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.

    Clark
    ccna
    USA

Similar Threads

  1. Press Release: Indigo Rose Launches New Online Support System
    By Colin in forum Announcements & News
    Replies: 0
    Last Post: 02-02-2004, 03:51 PM
  2. HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 01:55 PM
  3. INFO: Visual C++ 6.0 (SP4) Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 12:53 PM
  4. INFO: DCOM 95 1.3 Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 12:38 PM
  5. INFO: MDAC 2.7 Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 03:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts