BTW DO NOT use the dragging code in production.... Severe problems, and exactly its not posted as an example in the wiki :/
Jason P. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Loughran Sent: Monday, April 24, 2006 10:46 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] TreeView example code? Many thanks for this, i`ll take a look at this and have a go. Steve Plum, Jason wrote: > > I tried Zipping this out but NO... > > So here are all the files attached seperately, sorry I had to do it > this way. > > This example certainly contains WAY more than you need for dealing > with TreeView, but stil manages to convey the necessary basics (or AFICT). > > Jason P. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jason P > Sent: Sunday, April 23, 2006 12:16 PM > To: Win32-GUI > Subject: Re: [perl-win32-gui-users] TreeView example code? > > 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. >> >> Steve >> >> >> ------------------------------------------------------- >> 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 > >> easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121 >> 6 >> 42 _______________________________________________ >> Perl-Win32-GUI-Users mailing list >> Perl-Win32-GUI-Users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >> http://perl-win32-gui.sourceforge.net/ >> . >> > > > > > ------------------------------------------------------- > 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 > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > 42 _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > > > ---------------------------------------------------------------------- > -- > > > ---------------------------------------------------------------------- > -- > > > ---------------------------------------------------------------------- > -- > ------------------------------------------------------- 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 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/