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
CBDC (Central Bank Digital Currency) and the Truth?
Ways to Make Money as a Stay at Home Mom: Tried & Tested! | Busy Budgeter
Television Archive News Search Service
Craigslist Mpls Mn Apartments
Free Atm For Emerald Card Near Me
South Park Season 26 Kisscartoon
Botanist Workbench Rs3
DENVER Überwachungskamera IOC-221, IP, WLAN, außen | 580950
Owatc Canvas
More Apt To Complain Crossword
Heska Ulite
Best Pawn Shops Near Me
Select Truck Greensboro
Pro Groom Prices – The Pet Centre
Cashtapp Atm Near Me
Razor Edge Gotti Pitbull Price
Canvas Nthurston
Craighead County Sheriff's Department
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Craigslist Pearl Ms
Rimworld Prison Break
Knock At The Cabin Showtimes Near Alamo Drafthouse Raleigh
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Del Amo Fashion Center Map
Yugen Manga Jinx Cap 19
Ontdek Pearson support voor digitaal testen en scoren
eugene bicycles - craigslist
JVID Rina sauce set1
Access a Shared Resource | Computing for Arts + Sciences
Select The Best Reagents For The Reaction Below.
3 Ways to Format a Computer - wikiHow
Die wichtigsten E-Nummern
Syracuse Jr High Home Page
Metro By T Mobile Sign In
Stolen Touches Neva Altaj Read Online Free
Quality Tire Denver City Texas
Nicole Wallace Mother Of Pearl Necklace
How to Get Into UCLA: Admissions Stats + Tips
Breckie Hill Fapello
CARLY Thank You Notes
Craigslist Greencastle
Top 25 E-Commerce Companies Using FedEx
Dcilottery Login
What Is A K 56 Pink Pill?
Actor and beloved baritone James Earl Jones dies at 93
Dragon Ball Super Super Hero 123Movies
Goats For Sale On Craigslist
Darkglass Electronics The Exponent 500 Test
Best brow shaping and sculpting specialists near me in Toronto | Fresha
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.