K
kvr
Summary of problem
I have a Visual Basic 6 application which utilizes the Visio
DrawingControl. The screen contains the Drawing Control and a
Datagrid. I'm trying to dragdrop a part from the Datagrid onto the
drawing. I look up the shape for the selected part in a reference
table select the appropriate stencil and drop the selected part/shape
onto the drawing. - Everything works fine except for the position
where I manually drop the shape into the drawing. The dragdrop event
passes x, y coordinates that are relative to the Drawing Control
itself and not the position on the drawing where I'd like the shape to
end up.
Question
How do I determine the document x, y position, from the Drawing
Control's dragdrop event.
Thanks
I have a Visual Basic 6 application which utilizes the Visio
DrawingControl. The screen contains the Drawing Control and a
Datagrid. I'm trying to dragdrop a part from the Datagrid onto the
drawing. I look up the shape for the selected part in a reference
table select the appropriate stencil and drop the selected part/shape
onto the drawing. - Everything works fine except for the position
where I manually drop the shape into the drawing. The dragdrop event
passes x, y coordinates that are relative to the Drawing Control
itself and not the position on the drawing where I'd like the shape to
end up.
Question
How do I determine the document x, y position, from the Drawing
Control's dragdrop event.
Thanks