Home » Developing U++ » UppHub » HelpViewer Class
HelpViewer Class [message #28429] |
Wed, 01 September 2010 17:48 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
I've added a small HelpViewer class, which allows to vie Topic pages with a Table Of Contents (TOC) tree on left side.
The TOC is simply a Topic page formatted with tab indents which represents the TOC indenting levels.
Example :
Argument 1
<TAB>Sub 1.1
<TAB>Sub 1.2
<TAB><TAB>Sub 1.2.1
<TAB><TAB>Sub 1.2.2
<TAB>Sub 1.3
Argument 2
Argument 3
<TAB>Sub 3.1
......
TOC formatting is unimportant, only the links and text parts are loaded into a TreeCtrl.
Class could be easily extended to handle images inside the TOC.
I added also a TestHelpViewer package that shows the usage; it loads a TOC into control (twice, to show that the control can load multiple help files at once).
The class is still missing a couple of cosmetics, but it's very usable.
Ciao
Max
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 20:47:39 CET 2024
Total time taken to generate the page: 0.01199 seconds
|