TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Help Contents link problem From:Kristy Astry <KASTRY -at- CJDS -dot- COM> Date:Wed, 24 Mar 1999 12:14:47 -0700
I, too, had the same problem and found the solution in the archives! I
quote:
"HELP_TAB opens the Help Topics Browser to a specific tab. The vaue for
HELP_TAB is not listed in the VB doc, nor is it listed in the windows.h
header file for C/C++. The hex value for the HELP_TAB command, as specified
in CHW.HLP, is 0x000f.
The dwData parameter values that work are:
-3 = Contents tab
-2 = Index tab
-1 = Find tab
Alternatively, you can use the (also undocumented) TAB(integer) macro:
0 (zero) displays the Find tab. Any custom tabs: 1 displays the first
custom tab, 2 displays the second, etc. Any integer greater than the actual
number of custom tabs displays the Contents tab. So, to display the Contents
tab, you use TAB(n+1) where n is the number of custom tabs. If there are no
custom tabs, then TAB(1) will display the Contents tab." This is courtesy
Tom O'Shea by way of Shirley Kelly from a topic dated May 21, 1998, titled
"Re: Making Calls from VB".
It works!!!
> ----------
> From: Beth Kane[SMTP:Kane -at- VENTANA -dot- COM]
> Reply To: Beth Kane
> Sent: Wednesday, March 24, 1999 11:49 AM
> To: TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU
> Subject: Help Contents link problem
>
> I'm a lone Help writer in my company, and I'm using RH 7.0 to develop
> Winhelp for a 32-bit program that's being developed using VB. I'm in the
> early stages and don't have any context-sensitive topics mapped to IDs
> yet,
> but I do have 170 topics and a fully developed Contents structure in
> place.
>
> I gave the developers the project's .hlp and .cnt files, and told them to
> delete any .gid files if they see them, before compiling. Yet, if you
> select
> Contents from the app's Help menu, it takes you straight to a single topic
> -- then you have to finagle your way to the Contents tab.
>
> HOWEVER, if you click F1 anywhere in the window, it DOES take you to the
> Help Contents! That is really weird. The app is obviously "seeing" the
> Contents in one case, but not in another.
>
> The build guy has checked all his VB docs and I've checked all my RH docs,
> and we haven't been able to figure this out yet. Any ideas?
>
> **Whoa.** I just went to a different computer (in the Test Lab) to recheck
> this bug and I saw something additional. When you press F1, a Help topic
> appears for a split second before the Contents appears. You can only see
> this happening on slower machines; that's why I didn't see it before, I
> was
> using one of the developers' fast machines. Now that is really, really
> weird. By the way, it's the same topic we see when we go to
> Help->Contents.
>
> Thanks very much for any help you can lend before I have to get on hold
> with
> BS tech support.
> Beth Kane in Tucson
> kane -at- ventana -dot- com
>
>
> From ??? -at- ??? Sun Jan 00 00:00:00 0000=
> =
>
>