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 |
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
|
|
|
|
|
Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Sun, 19 August 2007 15:01
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Thu, 23 August 2007 17:35
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Tue, 28 August 2007 13:13
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Wed, 29 August 2007 11:30
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Fri, 31 August 2007 08:08
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Mon, 03 September 2007 00:15
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: nixnixnix on Tue, 18 September 2007 04:15
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Thu, 20 September 2007 23:29
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: nixnixnix on Mon, 24 September 2007 16:29
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Mon, 24 September 2007 23:59
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: nixnixnix on Tue, 25 September 2007 17:46
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mirek on Wed, 26 September 2007 00:14
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: nixnixnix on Wed, 26 September 2007 18:13
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
|
|
|
Re: Like the new Drag and Drop TreeCtrl but...
By: mrjt on Tue, 28 August 2007 17:46
|
Goto Forum:
Current Time: Sun May 05 09:13:21 CEST 2024
Total time taken to generate the page: 0.03174 seconds
|