Drag & Drop to CTreeCTrl |
Post Reply |
Author | |
hachem
Groupie Joined: 02 May 2008 Location: United States Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 18 January 2014 at 3:39pm |
I'm trying to drag records from a CXTRPReportView (which includes a CXTPReportCtrl) to a tree dialog (CTreeCtrl).
My problem is how to process the records in the CTreeCtrl. I am using the class "CTreeDropTarget" developed by someone else, I have overridden the OnDrop() function, but I don't know how to obtain the records from the COleDataObject object. Here is the function that I am processing: BOOL OnDrop(CWnd* pWnd, COleDataObject* pDataObject, DROPEFFECT dropEffect, CPoint point) { } How can obtain the records being dragged from pDataObject?
|
|
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 |