Introduction
============

This is the shareware version of the "Option Tree" custom control. It
contains an EXE program demonstrating the use of this control. If you
would like to obtain this control and the source code, you should get
registered.

An  option  tree  is  a  tree form control optionally with a checkbox
along  with  every  node  in  the  tree. At its full versatility, the 
control looks like:

    [ ] + xxxx
    [ ] - yyyy
         [ ] - zzzz
              [ ] . wwww
              [ ] . tttt
              [ ] . ssss
         [ ] + aaaa
         [ ] + bbbb
    [ ] . cccc


Each node can be selected or deselected, checked or cleared, expanded
or  shrinked. In the first two cases, a notification virtual function
is called so that any derived class can take appropriate actions.

The  checkboxes  can be indepedent, i.e., checking one won't have any
effect on the others. They can also be exclusive like a radio button,
i.e.,  checking  one  will  clearing  all its sibling checkboxes. You
can  determine  which one to use by specifying a parameter. These two
kinds of checkboxes can be mixed in one control.


It can also be used as an option list like:

    [ ] xxxx
    [ ] yyyy
    [ ] zzzz
    [ ] wwww
    [ ] tttt


It can also be used as a tree control without checkbox like:

    + xxxx
    - yyyy
         - zzzz
              . wwww
              . tttt
              . ssss
         + aaaa
         + bbbb
    . cccc


At last, it can also be used as a list box like:

    xxxx
    yyyy
    zzzz
    wwww


Control Limitations
===================

There is no logical limitations on the number of items the control can
hold. It is only limited by the range of integer and the available
ammount of memory.

On my own computer it can hold more than 10,000 items no matter it
is being used as option tree, option list, tree, or simply a list
box.



Where to get
============

Internet:    ftp.arch.su.edu.au         /pub/tongk/opttree.zip

Compuserve:  forum:   WINSDK              
             library: PUBLIC UTILTIES
             file:    opttree.zip


pricing
=======

The control is sold with source code.

If you purchase it separately, then

    OWL version (TOptTree, TOptNode) -- US$20
    MFC version (COptTree, COptNode) -- US$25
    Both                             -- US$30
    

If you register Freeman Installer for Windows v1.52 or Freeman
Installer for NT v1.5 or later, then this control is available
for free.


How to pay
==========

Read the file order.txt for info.




Special limitation
==================

This  control  and  any  derived  work  can not be used in any
installation program.



Building the sample program with BC4
====================================

You must create a two sub-directories named "deb" and "rel"
under the prj dir.



Author
======
Kent Tong
Internet: tongk@arch.su.edu.au
Compuserve: 100351,3364

