help and TOC

This forum contains short topics that require short answers. Developers arround the world are welcomed to help the community, or to post their own questions.
[C++ development]

Moderators: Teksoft, admin

help and TOC

Postby amnwit » Sat Jan 06, 2007 3:11 pm

Need some help,

how can i register my application's help into the Table of content (TOC) of wince help with eVC++ ??!

any ideas ?
thnx in advance.
amnwit
TEK-Seeker
 
Posts: 17
Joined: Tue Dec 26, 2006 12:13 pm

working ...

Postby amnwit » Sun Jan 07, 2007 1:11 pm

for those who are interessed ...

the solution from: http://www.microsoft.com/technet/prodte ... help3.mspx

Creating a Master List of All Installed Help Files
The master list of all installed Help files provides users with a fast way to scan all the Help file titles for the exact type of information they need. In versions prior to 2.10, this list was a separate HTML file that couldn't be updated. Version 2.10 and later creates this list dynamically through the use of the name of the first topic in each file and a corresponding link (.lnk) file. New links can be added at any time.

To add a file to the list, the first topic in the Help file must be named "Main_Contents." Also, the "Main_Contents" name must appear in the <META> tag. For example, the header information of the Solitaire Help files is written as:

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Htm-Help" CONTENT="soltr.htm#Main_Contents">
<TITLE>Solitaire Help</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<!-- PegHelp -->
<P><A NAME="Main_Contents"></A><B>Solitaire Help</B></P>
<A HREF="soltr.htm#playing_the_game">Playing the Game</A><BR>
<A HREF="soltr.htm#setting_solitaire_options">Setting Solitaire Options</A><BR>
<A HREF="soltr.htm#solitaire_scoring_systems">Solitaire Scoring Systems</A><BR>
<BR CLEAR=ALL>
<!-- PegHelp --><HR>
<!-- ************************Topic Break************************* -->


Create a link (.lnk) file in Notepad or another ASCII editor. The link file should be named the way you want the link to appear in the list. For example, the Solitaire Help file is named "soltr.htm" and the link file is named "Solitaire.lnk." The link will be "Solitaire." You can use spaces in the link file name, for example, "Pocket Word.lnk."

The text in the link file tells Windows CE Help which Help file to open when the link is clicked or tapped in the list. The following text was entered in the Solitaire.lnk file:

18#\windows\soltr.htm

The number 18 represents the number of characters in "\windows\soltr.htm." During the installation of your program, install the link file in the /Windows/Help folder on the device. The Help file can be installed in any folder on the device or on a CompactFash™ card.
amnwit
TEK-Seeker
 
Posts: 17
Joined: Tue Dec 26, 2006 12:13 pm


Return to Pocketpc

Who is online

Users browsing this forum: No registered users and 1 guest


cron