RE: Help yet again...

new topic     » topic index » view thread      » older message » newer message

> -----Original Message-----
> From: engale2000 at hotmail.com [mailto:engale2000 at hotmail.com]
  
> I know this is getin' redudent but hey I want to get this 
> project going.
> 
> I want to make a treeview thingy. This is going to be for a RPG maker 
> programed in EU.
> 
> I don't understand the codegiven in the WIN32LIB.zip if you 
> could please 
> give me a lesson on the atrabutes (only for the TreeView not the 
> details) and how to pass the variables I would be verry happy.
> 
> Hope you will try/test my concoction later on.

I'll assume you can create a treeview.  You might want to play with
different options in the style flag, however.  Look at how the demo (I'm
looking at ListTreeView.exw) uses or_all() to add multiple styles.

A treeview item has several important pieces of data:
- Text
- Parent
- Icons (closed and open)

You'll note that the demo first loads the icons.  Then it puts the items
into the treeview using addTVItem().  It's important to understand that the
id returned by addTVItem() is completely separate from those returned by
create().  Treeview items are tracked independently of other controls.

Hopefully that's enough to get you started.  If you have more specific
questions, please ask!

Matt Lewis

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu