How to save permanently position and size of a *.chm help file opening window ??

P

Paul Barasoa

When I open one of these well know *.chm windows help files a window pops up display the help content.
Mostly I have to resize (and reposition) this window in order to be able to read the text in a
convenient way. After a while I close the window. Unfortunately the information about the current
size and position of the window is (normally) NOT saved permanently.

Curioulsy sometimes (but very seldom) this information IS stored somewhere.

So how can I save this information permanently for ALL *.chm files?
Possibly I have to patch this information (where ?) in the *.chm source directly.

Paul
 
M

Malvern

This works for me on most items... Size window as desired. Then when
closing, hold down control and Shift keys together while clicking on X in
upper-right.

Malv
 
P

Pete Lees

Paul,
When I open one of these well know *.chm windows help files a window
pops up display the help content. Mostly I have to resize (and
reposition) this window in order to be able to read the text in a
convenient way. After a while I close the window. Unfortunately the
information about the current size and position of the window is
(normally) NOT saved permanently.

Curioulsy sometimes (but very seldom) this information IS stored
somewhere.

When building a help file, help authors can choose to enable or
disable the option "Save user defined position after first use". If
they enable this option then any changes that the user makes to the
size and position of the help window are stored in the file hh.dat in
this directory:

\Documents and Settings\%username%\Application Data\Microsoft\HTML
Help

If the author chooses to disable the option then any changes that the
user makes are discarded when the help file is closed.

To enable the option in a help file where it is currently disabled,
you'd need to decompile the file, change the project settings, and
then recompile. This could be a very slow process, especially where
dozens or hundreds of files are concerned, and potentially risky. This
is because the decompile/recompile process isn't a "round-trip"
process; certain features that the help author added to the original
help file can't be recovered when you decompile it, so these may no
longer work properly after you've recompiled.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top