Re: HTML Help



"Alexander Halser" <alexander.REMOVETHIS.halser@xxxxxxx> schreef in bericht
news:45638f37$0$2617$91cee783@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The reason for the stay-on-top mode is the window handle that you use in
the
help call as the first parameter. You could set the handle to 0 to disable
the
stay-on-top. But not so with training card help... this explicitely
requires a
handle to send the WM_TCARD messages to.

A solution would be to create an independent window handle in your
application
that can receive the message but does not have a window. This makes the
help
window independent from your application window or form while your app
still
receives the training card messages.


Yes, it works. But not the way I want it to be.
It has a behaviour like Calling HTMLhelp(0, ... as you predicted, while it
can receive messages.
The nice thing with HTMLhelp(0, is that the help window can be accessed even
though the app has the focus in a modal window. So you can step through a
help training scheme which opens modal windows in the app. Good!
But as soon as you then click in one of the application forms, the help
window disappears behind the app's main window. Because it does not stay on
top.

I want it to work the way Help works in HTML Help Workshop: the help window
is independent in its focus, and stays on top of the application when the
app opens a modal window (eg file-open). In that way you can follow the help
instructions while progressing the steps in the application.
You think that is possible ?
Tom


.



Relevant Pages

  • Re: HTML Help
    ... But not so with training card help... ... A solution would be to create an independent window handle in your application ... I want to use HTML Help API, using HTML Help Workshop for the organization ... The modal form disappears behind the main ...
    (comp.lang.pascal.delphi.misc)
  • Re: Annoying Preview behavior on exit
    ... When I tell it to exit, it always pops up a window asking me "Do you ... and Restart gives up after a loooooong delay. ... The modal window that keeps the restart from completing in a timely manner is, of course, a side-effect of that. ... I can take a guess at some reasons for this, but I'd try the usual incantations of killing the preferences file for the app. ...
    (comp.sys.mac.apps)
  • Re: SetWindowLong and WS_EX_LAYERED makes Windows invisible,...
    ... Style the Window will not me shown, The App is a single ... Modal Window. ... I can see the App in the Taskbar and use ...
    (microsoft.public.vc.mfc)
  • Re: Handle Of Modal Window
    ... Yes the window is a Win32 window and i used spy++ to find its class ... the modal window. ... Looks like FindWindowEx() fails because you are not giving the app time to ... SendMessageand if the app is hung, ...
    (microsoft.public.vc.mfc)
  • Re: Steve Carroll does not know the difference between saving and quitting.
    ... or in an app where it can be used for additional work it ... Most apps cannot be used with no window open... ... yet it does not quit. ... And nor should it Snit! ...
    (comp.sys.mac.advocacy)