I would liek to make change the cursor during drag-n-drop like the windows explorer does when you press the key ctrl, or shift, or both (respectively force copy, move and shortcut creation).<br><br>I have found the following member of Cview object interresting :<br>OnDragEnter , OnDragOver, OnDragLeave<br>They seem to be exactly what I am looking for. I try to overwrite them manually in my object derived from CListView (itself derived from CView), but they are never called (I have put breakpoints). I also puts breakpoints in the MFC source of these method of CView, but they weren't call !!<br><br>There is what I have done for drag-n-drop implementation :<br><br>Header file :<br><br>class MyClistView: public CListView<br>{<br>...<br>public:<br> virtual DROPEFFECT OnDragEnter(COleDataObject* pDataObject,<br> DWORD dwKeyState, CPoint point);<br> virtual DROPEFFECT OnDragOver(COleDataObject* pDataObject,<br> DWORD dwKeyState, CPoint point);<br> virtual void OnDragLeave();<br><br>// Generated message map functions<br>protected:<br> //{{AFX_MSG(MyClistView)<br>...<br> afx_msg void OnDropFiles(HDROP hDropInfo);<br> //}}AFX_MSG<br>}<br><br>Cpp file :<br><br>BEGIN_MESSAGE_MAP(MyClistView, CListView)<br> //{{AFX_MSG_MAP(MyClistView)<br>...<br> ON_WM_DROPFILES()<br> //}}AFX_MSG_MAP<br> END_MESSAGE_MAP()<br><br>void MyClistView::OnDropFiles(HDROP hDropInfo) <br>{<br>...<br>}<br><br>DROPEFFECT MyClistView::OnDragEnter(COleDataObject* ,<br> DWORD, CPoint)<br>{<br> ASSERT (FALSE);<br> return 0; // DROPEFFECT_NONE<br>}<br><br>DROPEFFECT MyClistView::OnDragOver(COleDataObject*,<br> DWORD, CPoint)<br>{<br> ASSERT (FALSE);<br> return 0; // DROPEFFECT_NONE<br>}<br><br>(I have simply use classwizard for this. I'm using Visual C++6, service pack 3, under Windows nt 4 sp 6)<br><br>Thanks for help,<br><br>David.