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 » Like the new Drag and Drop TreeCtrl but...
Re: Like the new Drag and Drop TreeCtrl but... [message #11241 is a reply to message #11238] Tue, 28 August 2007 17:46 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
First you retrieve the source control, then see what was selected:
		if(AcceptInternal<TreeCtrl>(d, "mytreedrag")) {
			const TreeCtrl &src = GetInternal<TreeCtrl>(d); // JT
			Vector<int> sel = src.GetSel(); // JT
			// Etc.
			tree.InsertDrop(parent, ii, d);
			tree.SetFocus();
			return;
		}


James
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl Scroll triggers Parent Refresh
Next Topic: hierarchical tree data structure & binding to TreeCtrl
Goto Forum:
  


Current Time: Sun May 05 09:13:21 CEST 2024

Total time taken to generate the page: 0.03174 seconds