Default width of TOC pane in CHM

Mar 25, 2009 at 12:31 PM
Using VS2005 style, by default when I open the CHM, the TOC/index pane is too narrow (namespaces are long, horizontal scroll bar is in like the middle).  I widen the TOC pane and it remembers it, but when I move the CHM, it goes back to the default.  This gives users a really bad experience when they open it.

How do I change the default pane width?
Mar 25, 2009 at 8:53 PM
The width of the pane is controlled by the window definition in the Help 1 project file.  Here's an example base on the SHFB template:

MsdnHelp="Test Library","Test.hhc","Test.hhk","html\Default.htm","html\Default.htm",,,,,0x62520,220,0x387e,[86,51,886,651],,,,,,,0

The "220" parameter controls the width.  Increasing it will increase the width of the pane.