Window Types (Windows) (2024)

  • Article

A window type is used to display a help topic and to provide users with a way to navigate through a compiled help (.chm) file. A help window is based on an HH_WINTYPE structure and hosts a Microsoft Internet Explorer DLL (Shdocvw.dll) to display a help topic.

Any help window that you create through the HTML Help API is owned by the calling, or parent, program. This allows the help window to stay on top of its parent, yet not be on top of any other program that has focus.

In addition, any help window that you create through the API is bound by the actions of its owner. For example, if the user minimizes the calling program, the help window goes away until the owner is restored. If the user exits the calling program, the help window also closes without requiring any action from its owner. Because the calling program created the help window, it can change the position and properties of that window without affecting the procedural help of any other program.

Defining window types

Either the help author can define window types in the project (.hhp) file using HTML Help Workshop, or the developer can define window types programmatically using the HTML Help API.

A window type definition, such as the standard HTML Help Viewer, includes all of the necessary information about the window such as window style attributes and any navigational elements (such as a table of contents, index, or full-text search). When the window type is created, part of its definition are the file locations of its navigational elements. These navigational elements do not change during the life of the window type.

Window types are specific to the compiled help (.chm) file for which they are created, unless the window type is a global window. Associating a window type with a single compiled help file enables you to create multiple help files that all contain a window type of the same name. For example, you could create fifty compiled help files and define a window type named Main in each file without the different window types conflicting with each other.

The total number of window types that can be defined, and the total number of windows that can be displayed at any one time, is limited solely by available memory and system resources.

Opening a help window

To create or access a help window, the developer can call the HTML Help API or the user can double-click a compiled help (.chm) file.

If a call to HtmlHelp() is made specifying a window type that does not exist, a type will be created using the specified name, but with default properties.

When a user double-clicks a compiled help (.chm) file, the HTML Help executable program (Hh.exe) calls the HTML Help API and the correct help window and topic appears. Accessing a help window using this method is slightly different than invoking a window through the HTML Help API.

By default, when a user double-clicks a help (.chm) file, the file opens in the window type defined in the help project (.hhp) file and displays the default help topic that is also defined in the project file. If no window is defined in the project file, then the default Help Viewer is used. If no default topic is defined in the project file, then a random help topic appears.

About the HTML Help API

Window Types (Windows) (2024)
Top Articles
Wissenswertes zur Besteuerung von Dividenden
What Is the Best Age to Get Pet Insurance for Your Pet?
Automated refuse, recycling for most residences; schedule announced | Lehigh Valley Press
Global Foods Trading GmbH, Biebesheim a. Rhein
Cintas Pay Bill
Myexperience Login Northwell
Pga Scores Cbs
Readyset Ochsner.org
Khatrimaza Movies
South Bend Tribune Online
Used Wood Cook Stoves For Sale Craigslist
What Is A Good Estimate For 380 Of 60
Colts seventh rotation of thin secondary raises concerns on roster evaluation
Gdp E124
Fraction Button On Ti-84 Plus Ce
CANNABIS ONLINE DISPENSARY Promo Code — $100 Off 2024
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Ms Rabbit 305
Apply for a credit card
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
Boston Dynamics’ new humanoid moves like no robot you’ve ever seen
Rubber Ducks Akron Score
Www.craigslist.com Austin Tx
Sister Souljah Net Worth
Accuweather Minneapolis Radar
Wood Chipper Rental Menards
Blackboard Login Pjc
Craigslist Rentals Coquille Oregon
Bayard Martensen
Astro Seek Asteroid Chart
Redding Activity Partners
L'alternativa - co*cktail Bar On The Pier
Pokemmo Level Caps
1987 Monte Carlo Ss For Sale Craigslist
Asian Grocery Williamsburg Va
Tds Wifi Outage
Chuze Fitness La Verne Reviews
Eastern New Mexico News Obituaries
Spn-523318
QVC hosts Carolyn Gracie, Dan Hughes among 400 laid off by network's parent company
Alba Baptista Bikini, Ethnicity, Marriage, Wedding, Father, Shower, Nazi
Reli Stocktwits
La Qua Brothers Funeral Home
Whitney Wisconsin 2022
CPM Homework Help
15:30 Est
Diablo Spawns Blox Fruits
Okta Hendrick Login
Appsanywhere Mst
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5372

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.