Solved

Changing drag/drop cursor?!??!

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 102
ORA-01403: no data found 43 112
ASCII Non-Printable characters/codes and their HTML equivalents 6 143
fizzArray2 challenge 1 103
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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…
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.

733 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