wiki:SetMapDisplay

Question: Default Map

I have been using SetMapDisplay to try to set the map to Tiros World on startup. For the most part it seems to work but occasionally, it starts up with a blank screen. How do I make it consistently come up with the Tiros World map?

Environment

FalconView Version: FalconView 3.3.1
Interface:
Language: C# VS 2005

-- Main.MikeSamsel? - 18 Sep 2007

Answer

You can either:

i) Poll FalconView by calling GetMapDisplay?(). Wait until this returns SUCCESS (0)

ii) Implement ICallback3 and wait for OnFalconViewReady?

iii) Create a FalconView favorite and use the /F command line switch to change FalconView to it upon startup

iv) Before starting up, delete the registry key that FalconView uses to store the last map before starting up (HKEY_CURRENT_USER\Software\PFPS\FalconView\MapSpec?). FalconView will default to Tiros World.