How to drop on external control? |
Post Reply |
Author | |
maxxan
Groupie Joined: 15 July 2009 Status: Offline Points: 49 |
Post Options
Thanks(0)
Posted: 28 January 2010 at 10:30am |
Hi!
What I want to do is to select some rows in the report view and drag them and drop on a tree control. I've inhereted a tree control and started to implement OnDrop and get the data with the correct CLIPFORMAT. The problem: I don't want the text of the rows, but rather the item data (DWORDs) of the records. When enabling drag/drop I add the xtpReportDontDropAsText flag. But how do I access the selected rows in OnDrop in the tree control to read from the records (or something like that to get the item data in the record)? What is dropped when using the xtpReportDontDropAsText flag? Any ideas? |
|
hachem
Groupie Joined: 02 May 2008 Location: United States Status: Offline Points: 11 |
Post Options
Thanks(0)
|
I am in the same situation. I suppose I need to read the records from the COleDataObject object in the OnDrop() method in the tree. But I don't know how to do that. Have you figure it out?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |