Solved

Changing drag/drop cursor?!??!

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

734 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