Link to home
Start Free TrialLog in
Avatar of SkizoWalker
SkizoWalker

asked on

Item from a CListCtrl dragable ? HowTo ?

Hi ...

Was wondering in my CListCtrl object ...
i want my item from the CListCtrl to be dragable into other CWnd ... (and not the invert , i dont want to drag file to my CListrCtrl but drag item FROM my CListCtrl to other Wnd ...)
how is possible ?

thanx in advance , greetings ...

Mickael / MoDEL FX

http://www.model-fx.com
ASKER CERTIFIED SOLUTION
Avatar of RONSLOW
RONSLOW

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RONSLOW
RONSLOW

NOTE: you destination window must be able to accept OLE drag-drop object (not much point being able to drag ifthere is nowhere to drop.

NOTE2: you can implement your own drag and drop (not using OLE) within your own app by responding to a drag (use ::DragDetect) by capturing the mouse, and on drop release the capture and find the window under cursor (ChildWindowFromPoint) and then doing the appropriate action for dropping from your list control onto that window.