A
Anders Christensen
Hi all,
I'm developing a window application using visio active x control.
I insert the shapes into the drawingcontrol by clicking on a toolbar item.
My problem is that when I 'Drop' the shape I need to tell the x and y
coordinate for my shape. Now I'm using a hardcoded set of coordinates for
this but this works badly when I'm scrolled away from the place the shape is
dropped.
So my question is if there's anyway to get the coordinates of the center of
the screen at the place I can see?
Hope to get some good answers
I'm developing a window application using visio active x control.
I insert the shapes into the drawingcontrol by clicking on a toolbar item.
My problem is that when I 'Drop' the shape I need to tell the x and y
coordinate for my shape. Now I'm using a hardcoded set of coordinates for
this but this works badly when I'm scrolled away from the place the shape is
dropped.
So my question is if there's anyway to get the coordinates of the center of
the screen at the place I can see?
Hope to get some good answers