Thanks
Fiveight
the hh.dat file stores user-specific information on all the HTMLHelp files
(*.CHM) on your system (position, favourite topics, search history, etc.),
and can cause a error if it has somehow been corrupted.
Delete or rename the file hh.dat to reset all (!) CHM windows on your system
to their default settings.
You should find hh.dat in this directory: \Documents and
Settings\%username%\Application Data\Microsoft\HTML Help
Windows will create a new version of hh.dat when you next open any .chm file.
Note there are many compiler options for the help author when compiling a
CHM window layout.
--
HTH
Ulrich Kulle
Microsoft MVP - Help
**********************
http://www.help-info.de
**********************
> HTML HELP can record it state, when I open it again, it will restor its old
> state, ie. sidebar width. How can I clear this state? Does HTML HELP use
> cookies?
If you want to ensure that the help window always opens with a particular
size and position, regardless of any changes that the end-user makes to the
size and position, then you need to do two things:
1) Deselect the option to save the user-defined window position after first
use. If you are using HTML Help Workshop, this option is on the Position tab
of the Windows Types dialog box. You access this dialog box by clicking the
Add/Modify Window Definitions button on the Project tab.
2) Explicitly set the dimensions of the help window, instead of just using
the default settings. Again, you would use the Position tab of the Windows
Types dialog box to do this.
If you want to ensure that the help window opens with the size and position
that the end-user has defined, you just need to select the option "Save
user-defined window position after first use".
Pete