### Window types

Each topic in the table of contents (resp. each keyword in the index) can be assigned to another window type, in which will be displayed. You do not need to define a window types, but doing so, you will be able to design the look and layout of your help.

Precision Helper offers for these purposes the visual window type designer, where not only the user immediately sees the final appearance of the window, but which also allows to interactively design the "window type" by using the simple mouse clicks.

Parameters that can not be defined in the visual design, are available in Object Inspector.

The basic parameters of the window type are available directly above the visual designer panel. For the "file parameters" (default topic, contents file, etc.) you can use the "browse" buttons and also the "navigation" buttons, that will navigate you to the appropriate place in the application, where the corresponding file can be edited.

Window types page options

- Add - adds a new window type. You have to enter the "window type identifier" in the displayed dialog.
- Delete - deletes the current window type
- Window type selection combo box (in the top right corner of the page) allows switching between already defined window types (window type for editing can be selected also in the Settings navigation panel)
- The "Advanced" button (and the designer popup menu)
- Inspector - shows the Object Inspector, where you can change the other parameters of window type design
- Copy to clipboard - copies the current window type definition to the clipboard, so you can apply it for another window type (the definition is copied exactly in the format specified for the html help projects, so you can, if necessary, apply it in another application that supports these projects)
- Paste from clipboard - the window type definition stored in the clipboard is applied to the current window type
- Default size - sets the dimensions of the window in the designer to default values

The Visual window type designer options

- Window caption - the window title that is shown in the help viewer for the resulting help
- Default window type - indicates that current window type is the default, that is used when the resulting help is open
- Home page - the topic, that will be displayed, when end user clicks the "Home page" button in the help viewer.
- Default topic - the topic, that will be displayed, when the resulting help is open
- Contents file - table of contents shown in this window type
- Index file - index of keywords shown in this window type
- Changing the size and / or changing the position of the window in the designer, you define the default dimensions and the default position of the window, when the resulting help is open
- By clicking the toolbar button in the designer, you select / deselect it for showing in the resulting help
- By changing the tab in the left pane (Contents, Index, Search, Favorites) you set the default tab for showing when the resulting help is open
- Changing the size of the left pane in the designer you set the default width of this pane when the resulting help is open

Overview of other design parameters

- Caption - the window title that is shown in the help viewer for the resulting help
- Remember dimensions - when the user opens the help window, the last window position and sizes will be used
- Show MSDN menu - the same main menu, as was used in the MSDN help, will be used for this window type
- Show tabs and toolbar - the left navigation pane with tabs and buttons will be displayed in this window type
- Stay on top - window will be always on top
- Tabs:
- Auto hide/show - pane with the tabs (Contents, Index, ...) will be shown automatically, so it will appear when you place the mouse on the left edge of the window
- Auto sync contents - the content item will always be set on the corresponding topic displayed in the help
- Default tab - default tab, that will be displayed, when the help is opened
- Initially closed - left panel with the tabs will be hidden when you open help (see above: Auto hide/show)
- Position - determines the position of tabs in the left pane (At top, on left, at bottom)
- Show favorites tab - Favorites tab will be displayed
- Show search tab - Search tab will be displayed (see also Project properties - Other options - Fulltext search).
- Advanced search options - the Search tab will contain additional options and buttons the extend the fulltext search
- Toolbar:
- Hide button labels - buttons on the toolbar will be displayed without the labels
- Hide buttons - hide/show the window toolbar
- Jump 1 - label and the topic/url of the "Jump 1" button
- Jump 2 - label and the topic/url of the "Jump 2" button
- Window style: (this section is intended for developers only)
- Extended flags - Extended window style (in the integer form)
- No default ext. window styles - see section Not implemented
- No default window styles - see section Not implemented
- Send tracking messages - see section Not implemented
- Post WM_QUIT - see section Not implemented
- Show state - integer value of the window show state (SW_HIDE=0, SW_SHOWNORMAL=1, SW_SHOWMAXIMIZED=3, ...)
- Style flags - Window style (in the integer form)
- WM_NOTIFY ID - the WM_NOTIFY message identifier
- Not implemented - section with parameters, that are listed here, because of the full support of HHP format only. Unfortunately the support for these parameters is not fully implemented even in the system CHM Help viewer.

Note:
Definition of window types is intended only for CHM (Microsoft Compiled Html Help) format. It has no effect on publishing (exporting) into another help format

Copyright © 2008-2010 Precision software & consulting. All rights reserved.