TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Herbert Bushong
from: Jonathan de Boyne Pollard
date: 1996-11-28 20:26:08
subject: Help for Help for OWL/2

HB>
  > I wrote the HLP file and compiled it with IPFC. Now I want
  > be able to load the help file.
  >
  > The program runs fine. But I can't get it to load the help file. I tried
  > using the TWindow::WinHelp(const char *, UINT, ULONG) member to load
  > the help file with the appropriate values, but while the function is
  > prototyped in the appropriate OWL header file, it doesn't appear to be
  > implimented in any of the LIB files, at least not in that format :(
HB>

  This is another excellent example of the shoddiness of OWL/PM, and the
  shameful way that it treats Presentation Manager as if it were Windows.

  The WinHelp function as prototyped is the way that _Windows_ invokes
  help (the function is implemented inline for Windows further down
  WINDOW.H).

  Help in Presentation Manager is more sophisticated (and in many ways
  better, because most of the "context-sensitive" processing is done
  without you having to code anything -- you just have to provide a table
  that maps between your application's windows and the help panels in your
  help file).

  Since OWL/PM is clearly deficient in this area, you'll have to implement
  help by calling the system API directly.

  It isn't hard.  I'll outline the basics in the next message.

  > JdeBP <
___
 X MegaMail 2.10 #0:
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 440/4 141/209 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.