HTML Help with the F1 key in a Clarion 5 app: ALIAS/ALERT hangs, and the HTML Help template says it was compiled for 5b

Applies to: Clarion 5 and 5.5 (the thread names both); the HTML Help template and DLL that came with 5.5.

Problem

With Clarion 5.5 you can use HTML Help through a template and a DLL, with the F1 key aliased to another key and that second key alerted. In a Clarion 5 app this ALIAS/ALERT technique sometimes made the app hang. The poster considered subclassing every window to catch F1 instead. The HTML Help template then stopped with the text "HTML Help has been Compile for Clarion version 5b".

Solution

  1. Do not expect the keystroke in a window subclass. One poster remembered that the window procedure gets no keystroke events; another confirmed that you get a WM_HELP message instead, and checked for it in the subclass procedure.
  2. A reply reported a home-grown help system working in Clarion 5b with the same ALIAS/ALERT of F1, and suggested that the hang may come from showing the help, not from trapping the key.
  3. HTML Help was introduced with Clarion 5.5. The template tests the version (the poster quoted the lines below), and a reply said the error text is misleading for Clarion 5.
  4. The 5.5 library names in the quoted template are cwHH55.LIB and cwHH55L.LIB. A reply named the DLL as cwhh55.dll; the poster wanted a Clarion 5 build of it and the thread does not supply one.
#IF( %CWVersion < '5002' )
#ERROR( 'HTML Help has been Compile for Clarion version 5b' )
#ELSIF( %CWVersion = '5002' )
#PROJECT ('cwHH.LIB')

Caveats

  • The thread does not say whether the WM_HELP route cured the hang; the original poster only thanked the reply.
  • No Clarion 5 version of the HTML Help DLL turned up in the thread.
  • A reply also pointed to a registration-free COM page and to older notes in the group; these are not summarised here.

Today (2026)

The WM_HELP message still reaches a window procedure on Windows, so the idea likely holds, but it was not re-tested. The Clarion 5.5 template pieces belong to a very old chain and are of historical interest only.

Sources: Vince S. (Jul 2002, the question), Paul A., Jens W., Bill C., Simon B. (Jul 2002) in softvelocity.products.c55ee.