From: Steve Loughran <stevelml1@sc...> - 2006-04-23 13:41:39
For the life of me, I cannot quite get my head around TreeViews (Am sure
its something to do with lack of sleep or caffeine), and the example
code with the WIN32::GUI distribution doesn't appear to have any code
for it. Can anyone point me in the right direction?
Many thanks for your help.
I don't have it here at home, but i can provide you with something when
I get to work on Monday!
But, there are the basics you need to know:
NODE = item handle (int). these are used for all sorts of tracking and
is a parameter of 90% of the functions having to do with treeviews.
Click vs Collapse vs Expand
Collapse and Expand will also trigger Click events Click events will not
necessarily trigger Collapse and Expand events.
KNOW YOUR PARENT.
when adding an item to a treeview, the 'parent' is the item which the
new item will be a subitem/child to. InsertItem just so happens to
return the NODE of the resulting insert :)
ImageList's are fun....
managing the images associated with each item can be 'phun' to say the
least if you arent paying close attention to what item is what :p
Steve Loughran wrote:
> Hi all
> For the life of me, I cannot quite get my head around TreeViews (Am
> sure its something to do with lack of sleep or caffeine), and the
> example code with the WIN32::GUI distribution doesn't appear to have
> any code for it. Can anyone point me in the right direction?
> Many thanks for your help.
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Perl-Win32-GUI-Users mailing list