Drawing Control - Convert X,Y coordinates

H

HomerJ

I'm using the Drawing Control and want to drag & drop external objects into a
drawing.

How can I convert the X, Y points returned from the Drag_Drop event to
drawing coordinates so I can place the appropriate shape at the dropped point?
 
J

junethesecond

GetWindowRect method to Activewindow
gets window location and size,
pnLeft, pnTop, pnWidth, pnHeight.
I hope yuou could caluculate x and y.
 
Top