Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
GeneralExplorer DragImage Part III Pin
TylerBrinks30-Jun-04 6:36
TylerBrinks30-Jun-04 6:36 
Heath – I’m sure you’re reading this… I’m 95% of the way to a solution to the Explorer dragimage problem. That’s both good and bad news. First off, the problem all along wasn’t my implementation of the COM interfaces; I had that right the whole time. The problem is how c# registers objects as drag targets. It does it automatically, so you have to first revoke and then re-register the control for drag drop to catch the interface’s methods.

That being said, I have a test project which, when something from the shell is dragged over the form, will fire the IDropTarget.DragEnter event. I have an IDropTargetHelper object that I’m using to call the DragEnter method, and voila, the Explorer drag image appears! HOWEVER, I am getting a NullReferenceException when calling the IDropTargetHelper’s DragOver method, and the drag image will not move with the cursor since there's an error. I’ve scoured the net for a reason why this is happening, but no luck there. Debugging doesn’t help since we’re dealing with an unmanaged code…
Would you be willing to help in any way? I can post code, email a sample, whatever you might be up for... I’m so close I just need to get over this one last hurdle!!

Thanks!
GeneralRe: Explorer DragImage Part III Pin
TylerBrinks30-Jun-04 8:26
TylerBrinks30-Jun-04 8:26 
QuestionControl handles via drag event ? Pin
Guinness4Strength30-Jun-04 6:22
Guinness4Strength30-Jun-04 6:22 
AnswerRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 6:39
protectorNick Parker30-Jun-04 6:39 
GeneralRe: Control handles via drag event ? Pin
Guinness4Strength30-Jun-04 7:02
Guinness4Strength30-Jun-04 7:02 
GeneralRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 8:03
protectorNick Parker30-Jun-04 8:03 
AnswerRe: Control handles via drag event ? Pin
StealthyMark4-Jul-04 7:30
StealthyMark4-Jul-04 7:30 
GeneralQuestion on simple binding Pin
Brett Slaski30-Jun-04 4:26
Brett Slaski30-Jun-04 4:26 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 8:46
protectorHeath Stewart30-Jun-04 8:46 
GeneralRe: Question on simple binding Pin
Brett Slaski30-Jun-04 9:24
Brett Slaski30-Jun-04 9:24 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 18:08
protectorHeath Stewart30-Jun-04 18:08 
GeneralRe: Question on simple binding Pin
Brett Slaski1-Jul-04 2:44
Brett Slaski1-Jul-04 2:44 
GeneralRe: Question on simple binding Pin
Heath Stewart1-Jul-04 4:36
protectorHeath Stewart1-Jul-04 4:36 
GeneralRe: Question on simple binding Pin
Brett Slaski1-Jul-04 5:54
Brett Slaski1-Jul-04 5:54 
GeneralRe: Question on simple binding Pin
Heath Stewart1-Jul-04 17:48
protectorHeath Stewart1-Jul-04 17:48 
GeneralRe: Question on simple binding Pin
Brett Slaski2-Jul-04 3:08
Brett Slaski2-Jul-04 3:08 
GeneralRe: Question on simple binding Pin
Heath Stewart2-Jul-04 3:40
protectorHeath Stewart2-Jul-04 3:40 
GeneralRe: Question on simple binding Pin
Brett Slaski2-Jul-04 9:25
Brett Slaski2-Jul-04 9:25 
GeneralOOP implemenation question Pin
mealnumberone30-Jun-04 2:27
mealnumberone30-Jun-04 2:27 
GeneralRe: OOP implemenation question Pin
Colin Angus Mackay30-Jun-04 3:15
Colin Angus Mackay30-Jun-04 3:15 
GeneralRe: OOP implemenation question Pin
mealnumberone30-Jun-04 7:13
mealnumberone30-Jun-04 7:13 
GeneralRe: OOP implemenation question Pin
Heath Stewart30-Jun-04 8:39
protectorHeath Stewart30-Jun-04 8:39 
GeneralMouseHover on toolbar button Pin
Member 114743230-Jun-04 1:52
Member 114743230-Jun-04 1:52 
GeneralRe: MouseHover on toolbar button Pin
Nick Parker30-Jun-04 3:06
protectorNick Parker30-Jun-04 3:06 
GeneralRe: MouseHover on toolbar button Pin
Heath Stewart30-Jun-04 3:55
protectorHeath Stewart30-Jun-04 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.