المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Tree CImageList Drag and Drop



C++ Programming
02-20-2010, 03:00 AM
Last two days i'm struggling in CTreeCtrl Image Drag and Drop.

I'm using MFC MDI application having two views

1. Library View
2. Project View

Both the views having Tree Structure. I can able to drag and drop an item from Library view to the Project View but while dragging i need to drag image from one view to the another. I can able to drag image up to the border of the library view(View one) when the pointer enters in to the project view(View two) it disappear and only shows the pointer.

How can i copy the image from my Library view to the Project View.

Any one please help me ...