Solved

Changing drag/drop cursor?!??!

Posted on 1997-08-05
2
592 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 66
Strange date stored 22 154
only14 challenge 19 81
sumHeights2  challenge 7 117
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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