Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: retrieve all selected nodes
super-manu
Junior Member

Posts: 7
Registered: 10/15/2003
Member Is Offline
posted on 9/1/2004 at 04:03 PM Reply With Quote
retrieve all selected nodes


Hi,
I want to retrieve all selected, i don't find it in the documentation.
Is it possible ?

Manu.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 9/2/2004 at 09:19 AM Reply With Quote

You can use open tree API to handle the issue: function find_item_by_state(n_mask) - returns an array of items with specified state. States descrption is also present in the product documentation:
0 bit - last item in the block,
1 bit - reserved,
2 bit - item is selected,
3 bit - item is opened,
4 bit - item is node,
5 bit - item is root,
6 bit - item is mouseovered

So in you case mask should have 2nd bit set, and n_mask value will be 4.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004