Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TreeCtrl » Where can I store 32 bit data
Re: Where can I store 32 bit data [message #4835 is a reply to message #4833] Wed, 23 August 2006 12:06 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Instead of LPARAM, in U++ you can associate TWO Values with each tree item.

First one is just stored (key). You can retrieve it later (e.g. for active item).

Second one is displayed in TreeCtrl. You can even define HOW it is displayed using the Display class.

You can directly store virtually any concrete type to the Value and you can make your own types "Value-compatible". Some of U++ Value-compatible types are String, int, double, int64, bool, Image, Color, Font, Drawing, Date, Time....

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing callback trigger in OptionTree? [SOLVED/FIXED]
Next Topic: A Rest Topic:how many tree items you can have
Goto Forum:
  


Current Time: Mon Aug 25 15:46:42 CEST 2025

Total time taken to generate the page: 0.05395 seconds