It's a good idea to keep your context-sensitive Help current with the application. For example, if a dialog is removed from the application, you should remove the alias from your project by unassigning the link between the topic ID and window-level topic (.HTM file). This updates the alias file (.ALI) by removing information it no longer needs to use.
Note: If you create aliases for bookmarks and remove the bookmarks from the window-level topics, you need to manually unassign the aliases created for the bookmarks (they are not automatically removed from the .ALI file the way they are when you remove window-level Help topic files).
Click the Project tab.
From the File menu, select Aliases. The Edit Map IDs dialog opens.
From Map
File, click and select the map file that includes
the topic ID used with the alias. All topic IDs and map numbers are listed
below it.
Blue icons indicate topic IDs matched to HTML files in your project.
If you pause the mouse over a blue icon, a popup displays the name of the
.HTM file (window-level Help topic) matched to the topic ID.
Yellow icons indicate topic IDs not matched to any HTML files (aliases
do not exist). If you pause the mouse over a yellow icon, a popup displays
the topic ID and map number without a window-level Help topic (to indicate
that it is not matched to a .HTM file).
Select the topic ID from the list. Its matching HTML file is selected at the Topic list.
Click Unassign. The topic ID and HTML file are no longer matched and the alias is removed.
To find out if your project includes any orphaned aliases, select <Aliases> from the Map File list.
Gray icons identify orphaned aliases. If you pause the mouse over a
gray icon, a popup displays the name of the .HTM file (window-level Help
topic) that is matched to the topic ID. These topics will no longer work
in the application since they do not have map numbers.
You can unassign these in the same way you unassign valid aliases. (Select the topic ID and click Unassign.)
Repeat steps 3 – 5 for each alias you need to remove.
Compile your project to update the .CHM file.
Tip: In addition to dialogs, remove aliases whenever the application no longer uses windows and messages that are aliased in your project (to your window-level Help topics).