Define window characteristics.
Syntax
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Tag ³Element ³Attributes ³End ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³:h1.-:h6. ³Define cross ³res= ³ ³ ³ ³references to ³id= ³ ³ ³ ³internal and ³name= ³ ³ ³ ³external ³global ³ ³ ³ ³sources. ³tutorial=' ' ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Define origin ³x= ³ ³ ³ ³and size of ³y= ³ ³ ³ ³windows with ³width= ³ ³ ³ ³relation the ³height= ³ ³ ³ ³primary window.³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Manage the ³group= ³ ³ ³ ³display of ³viewport ³ ³ ³ ³information in ³clear ³ ³ ³ ³multiple ³ ³ ³ ³ ³windows. ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Define the ³titlebar= ³ ³ ³ ³user's control ³scroll= ³ ³ ³ ³over the ³rules= ³ ³ ³ ³window. ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Restrict user ³nosearch ³ ³ ³ ³retrieval of ³noprint ³ ³ ³ ³information. ³hide ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Change heading ³toc= ³ ³ ³ ³levels that ³ ³ ³ ³ ³appear in the ³ ³ ³ ³ ³Contents ³ ³ ³ ³ ³window. ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Define the ³ctrlarea= ³ ³ ³ ³control area of³ctrlrefid= ³ ³ ³ ³a window for ³ ³ ³ ³ ³displaying push³ ³ ³ ³ ³buttons. ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Attributes
res=
id=
name=
If you are creating an .HLP file, res= is required and can be any integer from 1 through 64 000. However, if you are creating an .INF file (compiled by specifying the /INF parameter with the IPFC command), you can use res=, name= or id=. With name= and id=, you can include alphabetic characters. You cannot use these attributes if you plan to concatenate .INF files. Instead, you must use res=. For more information see Concatenating .INF Files.
:h1 tutorial='example.exe'.Test Windowx=
Size and position attributes can be given in absolute, dynamic, or relative values:
Absolute value:
c
center | left | right
A group number can be assigned to a viewport by a heading or link definition. For example, suppose you have a group number specified in a link definition, and another in the heading that the link refers to. If a user action causes the link definition to be selected, the link group number overrides the heading group number. However, if the user selects the heading from either the Contents window or the Index window, the heading group number takes effect.
IPF searches among the open windows to find one with a number matching the one specified with group=. If no match is found, IPF opens a new window. If a match is found, the information associated with the group number is swapped with the information in the matched window.
The viewport attribute always opens a window. If you specify both viewport and group=, and a window with the specified group number is already open, IPF opens another window with the same group number. Thus, it is better that you do not specify the viewport attribute in a heading that will appear in the Contents window, unless you want your contents entries to always open separate windows.
The clear attribute causes IPF to close any open windows before opening a window to display the current window.
The nosearch attribute in a secondary heading definition prevents the heading from being returned as an entry in the search-results window. This does not mean the secondary window is not searched. It is, however, only the primary heading definition that is returned. When the user selects the primary heading definition, the contents of the second window are displayed as part of the primary-window composition.
The noprint attribute in a secondary heading definition prevents the contents of a secondary window from being printed as a separate entity. Instead, secondary windows are printed as part of their primary window. The contents of secondary windows are printed in the order in which the link definitions are listed in the primary window.
When used in secondary heading definitions, nosearch and noprint merely prevent duplication of output (search results or printed copy). When used in regular heading definitions, they prevent retrieval of the information by the user. The only exception to this condition is if the user selects This section for either printing or searching.
The hide attribute prevents a heading level from appearing in the Contents window; however, there must be at least one heading level that is not hidden.
page
:docprof ctrlarea=none.. . . :h1 ctrlarea=page.One Windowctrlrefid=
Note: Be careful when using heading tags to define a control area for split windows. A control area cannot be defined in the secondary window heading tag of a split window. You must define the control area (the coverpage window) in the primary window heading tag.