Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mgOptionsTreeCtrl Class Reference

#include <OptTreeCtrl.h>

List of all members.


Detailed Description

The Edit | Options dialog box: the treelist control.

This class lists in a treelist control all option's families: each item in the treelist has an associated option's panel that is displayed in the main dialog box.

This class is very simple: it only has the constructor, the destructor. Events such he selection of an item in the treelist control are handled in the parent window that is in the main dialog window.

In order to add a new option's panel just add an item in the enum in the header file and add the item in the tree list control.

See also:
mgOptDlg::OnItemSelected

Definition at line 150 of file OptTreeCtrl.h.

Public Member Functions

 mgOptionsTreeCtrl (wxWindow *parent)
 Constructor.
virtual ~mgOptionsTreeCtrl ()
 Destructor - it does nothing.


Constructor & Destructor Documentation

mgOptionsTreeCtrl::mgOptionsTreeCtrl wxWindow *  parent  ) 
 

Constructor.

The ctor is used to add items in the treelist control. To add a new item, choose the correct parent itemID and use the AppendItem function. To add a top level item id you have to use the idRoot variable.

Definition at line 79 of file OptTreeCtrl.cpp.


The documentation for this class was generated from the following files:

Documentation generated with Doxygen on Sun Feb 6 17:19:27 2005
Visit MathStudio home page for more info

[ Top ]