Hello people,
using VB6 here with MapPoint Control (MP 2002 iirc)
I let the user draw an autoshape. I then save this info for later retrieval to reshow the autoshape exactly as they placed it. The problem is - if a user moves this autoshape ? I am finding it difficult to get the new coords.
If I use SelectionChange event - and inside that determine that it is a shape object ? I don't seem to get the lat lon passing pNewSelection.Location off as a new temporary Location object to the Calc function. I thought, ok, I'll set a boolean here local to the form, and then on MapPointControl MouseUp I'll check to see if I'm on a MouseUp coming from a Shape SelectionChange.
Still no new coords by grabbing the designated shape object's .Location and setting a new temp location object and passing THAT onto Calc function.
Keeps storing the old coords of initial placement of shape.
Has anyone else encountered this ?
Tim Miltz
Senior Technological Shaman of some fly by night, here today, gone tomorrow software company.