M
Mike Scott
I'm using the Microsoft MapPoint ActiveX for routing and don't need a
GUI. Unfortunately, the developers of MapPoint didn't see fit to
partition the logic from the GUI, so I have to use the MapPoint ActiveX
control for routing, and it throws exceptions if it's not hosted in a
visible form.
The solution would appear simple: create a zero-sized form with no
border and host the control in that.
However, when I attempt to create a zero-sized (or even small, e.g.
10x10 pixel) form, it's always created with a size of (123,34) - i.e.
the Size property reverts to these values when I show the form.
S how can I force the form to stop overriding my requested size and
allow it to be zero-sized?
TIA
MikeS.
GUI. Unfortunately, the developers of MapPoint didn't see fit to
partition the logic from the GUI, so I have to use the MapPoint ActiveX
control for routing, and it throws exceptions if it's not hosted in a
visible form.
The solution would appear simple: create a zero-sized form with no
border and host the control in that.
However, when I attempt to create a zero-sized (or even small, e.g.
10x10 pixel) form, it's always created with a size of (123,34) - i.e.
the Size property reverts to these values when I show the form.
S how can I force the form to stop overriding my requested size and
allow it to be zero-sized?
TIA
MikeS.