Openig popup in specify place on screen via VBA

Openig popup in specify place on screen via VBA

Hello,
Is there an easy way in VBA to open popup (template picture in specyfy window location)
I have a same 20 valves on main screen in different places.
When I click on the valve symbol, there is a popup display which shows some informations, open command, close command, status etc. I would like to have this popup be displayed in the same distance from each valve symbol.
For example if
ValveSymbol 1 is on screen at StartPoint X = 500 , Y = 600, I would like to have a popup opened at StartPoint X = 550, Y = 650.
ValveSymbo 2 is on screen resolution StartPoint X = 100 , Y = 50, popup should automaticaly opened at X = 150, Y = 50,
Another words it is need for popup to be displayed by offset 50 + starting valve symbol position.
Is it possible to made it in via VBA script?
Thanks for answer
Maro

This is a migrated post! Originally posted on 12.12.2008 by user maro80. Please be aware that information can be outdated.