c# - How to change the drag and drop cursor when mouseover a drop target -
i have app incorporates drop target unarchive (file attribute) files. change mouse cursor in dragenter event of form custom cursor (.cur) have embedded resource.
the drop target transparent form image of target. (the entire form drop target)
i know can use givefeedback event when have control of drag source. not case source windows explorer. (and maybe i'm wrong , can still use givefeedback in scenario, not figure out how trigger event.)
to eliminate possibility custom cursor not valid or corrupt, set custom cursor in mouseover event of drop target form.
functionally working, wanting "pretty things up" little bit.
thanks in advance insight.
you seem know custom cursors set in givefeedback , how that. problem not getting givefeedback events. don't know on control have drop spot, try attaching listener underlying form's givefeedback event, , see if feedback there.
you can try subclassing control using (panel, picturebox or whatever) , listening givefeedback event.
Comments
Post a Comment