Dragging from TaskPanel into Calendar |
Post Reply |
Author | |
EricFowler
Groupie Joined: 01 December 2009 Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 13 December 2009 at 12:02am |
So I want to be able to drag a task panel item into the calendar and drop it, thereby adding an event to the calendar.
I will naturally want the calendar to interrogate whatever is dropped to get data from it, etc.
I am already able to trap COleDropTarget::OnDrop() calls in the calendar and sort out the CLIPFORMAT.
What I need to know is: How do I pass a pointer of data from the task panel (that is, one item) to the OnDrop() handler?
When I get a STGMEDIUM struct populated with an HGLOBAL, what does the HGLOBAL point to, if my drag started in a task panel?
Thanks
Eric
|
|
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 |