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   |
 |
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
|
|
|
Goto Forum:
Current Time: Mon Aug 25 15:46:42 CEST 2025
Total time taken to generate the page: 0.05395 seconds
|