JackDempsey
MIS
Hello! I'm trying to implement a simple drag and drop of an image to a PictureBox. I've got the drag modes, etc. set. This is a non-OLE drop. My Q is, can I use a coordinate zone to specify the picturebox?
ie:
if not within picturebox coords then
(bad drop)
else
(good drop)
Problem is, I don't know where to put this code. I can't/don't want to call the (bad drop) function from DragDrop(Source,X,Y) for every object and control on the form!
Any thoughts?
ie:
if not within picturebox coords then
(bad drop)
else
(good drop)
Problem is, I don't know where to put this code. I can't/don't want to call the (bad drop) function from DragDrop(Source,X,Y) for every object and control on the form!
Any thoughts?