Solved

Changing drag/drop cursor?!??!

Posted on 1997-08-05
2
600 Views
Last Modified: 2013-11-20
I am trying to use the MFC OLE drag&drop mechanism (OnDragEnter/OnDragOver...).  I can't figure out how to provide my own drag cursor.  I have even provided my own CDropSource object and overrode GiveFeedback() to try and hook the right place.  I am using a CImageList and so I call CImageList::SetDragCursorImage() inside of GiveFeedback(), but the cursor never changes.

I could be going about this all wrong, I have tried many things.  But they never have any effect on the cursor what-so-ever.

Does anyone have some sample source that does this? How about a good reference for some decent help or docs on this?

HELP!!!!
0
Comment
Question by:Vance Kessler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
gelbert earned 200 total points
ID: 1303062
I think that you are going into right direction but you have to call Win API ShowCursor( FALSE ) to hide existing cursor. This should work for CImageList.
0
 

Author Comment

by:Vance Kessler
ID: 1303063
Well, I have tried that.  Sorry I didn't mention that in the orignal post (but I don't think there is room to fit in all the things I have tried).  And when I called it it just turns off the cursor so that I have NO cursor.
0

Featured Post

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question