The first problem is that ShowFindDialog uses regional settings to determine country instead of passing a parameter to it. Is there any member of the map object, or control object that I can specify the country in?
Second, when I call ShowFindDialog, if it takes more than 5 seconds for the user to resolve an address, I get stuck in a loop of Retry/Switch-To. I've had similar problems when I took too long running code on mouse events. But this is a MapPoint function that I've called. Once I've called this (from a non-MapPoint generated event), I can't control it. I can only wait for the user to dismiss it.
Any suggestions? I'm using VC++, so that complicates things (since 99% of all MapPoint info is in VB). I can't seem to find a way to change OLE timeouts in VC++ (if there is a way).
That reminds me, if anyone has an idea how to 'extend MapPoint functionality' in VC++ (like has been done in VB), I would appreciate help with that too. I've tried posting the appropriate messages to the control's parent, its parent, the frame, etc. I know it should be sent to the map's outermost window, but which one is that?
Argh! Thanks to anyone who can help!