Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dragging from TaskPanel into Calendar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dragging from TaskPanel into Calendar

 Post Reply Post Reply
Author
Message
EricFowler View Drop Down
Groupie
Groupie


Joined: 01 December 2009
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote EricFowler Quote  Post ReplyReply Direct Link To This Post Topic: Dragging from TaskPanel into Calendar
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.