Tree View Sample
To compile the example:
- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\wel\tree_view\.
- Choose tree_view.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click OK.
After launching the program, a window will be displayed as illustrated above. Selecting or expanding one of the tree items will cause notification to be displayed in the list at the top of the window. Various other notifications are also displayed, such as pressing a key in the tree.
Under the Hood
TREEVIEW inherits WEL_TREE_VIEW and redefines make to initialize items within the tree. A WEL_TREE_VIEW_INSERT_STRUCT is used to insert each WEL_TREE_VIEW_ITEM while a WEL_IMAGE_LIST is used to reference images within the tree. This sample contains the following classes:
- Parent <WEL Samples>