=20
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: perl-win32-gui-users-admin@...
[mailto:perl-win32-gui-users-admin@...] On Behalf Of
Steve Loughran
Sent: Monday, April 24, 2006 10:46 AM
To: perl-win32-gui-users@...
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:
> =20
> I tried Zipping this out but NO...
>=20
> So here are all the files attached seperately, sorry I had to do it=20
> this way.
>=20
> This example certainly contains WAY more than you need for dealing=20
> with TreeView, but stil manages to convey the necessary basics (or
AFICT).
>=20
> Jason P.
> -----Original Message-----
> From: perl-win32-gui-users-admin@...
> [mailto:perl-win32-gui-users-admin@...] 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?
>=20
> I don't have it here at home, but i can provide you with something=20
> when I get to work on Monday!
>=20
> But, there are the basics you need to know:
> NODE =3D 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.
>=20
> Click vs Collapse vs Expand
> Collapse and Expand will also trigger Click events Click events will=20
> not necessarily trigger Collapse and Expand events.
>=20
> KNOW YOUR PARENT.
> when adding an item to a treeview, the 'parent' is the item which the=20
> new item will be a subitem/child to. InsertItem just so happens to=20
> return the NODE of the resulting insert :)
>=20
> 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
>=20
> Steve Loughran wrote:
>> Hi all
>>
>> For the life of me, I cannot quite get my head around TreeViews (Am=20
>> sure its something to do with lack of sleep or caffeine), and the=20
>> example code with the WIN32::GUI distribution doesn't appear to have=20
>> 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=20
>> job
>=20
>> easier Download IBM WebSphere Application Server v.1.0.1 based on=20
>> Apache Geronimo
>> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121
>> 6
>> 42 _______________________________________________
>> Perl-Win32-GUI-Users mailing list
>> Perl-Win32-GUI-Users@...
>> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>> http://perl-win32-gui.sourceforge.net/
>> .
>>
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,=20
> 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=20
> Apache Geronimo
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
1216
> 42 _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@...
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> http://perl-win32-gui.sourceforge.net/
>=20
>=20
> ----------------------------------------------------------------------
> --
>=20
>=20
> ----------------------------------------------------------------------
> --
>=20
>=20
> ----------------------------------------------------------------------
> --
>=20
-------------------------------------------------------
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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/
|