Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Is there a way to move an item to a new parent in CExtTreeGridWnd? Collapse All
Subject Author Date
Offer Har Oct 15, 2008 - 8:37 PM

Something like ItemSetParent?


Thanks,


Ron.

Technical Support Oct 17, 2008 - 8:44 AM

This is provided by the CExtTreeGridWnd::ItemCopyMove() method. It can either move tree brunches or clone them. There is also another CExtTreeGridWnd::ItemCopyMoveTest() method, which allows you to determine whether you can move a tree item or not. It’s not possible to change the parent item of a tree item to its child item.

Offer Har Oct 16, 2008 - 4:45 AM

I would like to add that I need this for moving a sub-tree, that is, if the node I change the parent to has children, they will move as well...