Header Sep
Symbian Tips, Tricks & Code
我的评分 用户评价
登录票选本页

July 2005
FileTree: using hierarchical list boxes to show file structure

[Back]

One of possible list boxes is the CEikHierarchicalListBox class. It can represent hierarchical data in a list that can be expanded or collapsed. This it very useful option for large lists and is especially useful for showing and browsing folder structures.

Download FileTree example>>

This example builds a list box that contains the whole structure of a C drive. The user can collapse and expand single elements or the whole list at once, as shown by the screen shots below.

 
 

To build the FileTree example:

$ bldmake bldfiles
$ abld build thumb urel
$ makesis FileTree.pkg

This example has also a small program (supply.bat) that can call these commands for you. It will also start deploying the .sis file on the phone. You should edit it before first use to update paths, so they will reflect your folders.

 

 

我的评分 用户评价
登录票选本页