Question

I'm creating a MapPoint add-in with Visual Studio 2010. I would like it to write some log messages on MapPoint status bar, to make the user know what it is doing. Is it possible? In the reference status bar it's not even mentioned. Thanks!

Was it helpful?

Solution

The documentation is pretty complete. The reason it is not covered, is because the status bar is not exposed by the API.

The only way to do it, is to try and trap Windows messages, and directly manipulate the Status Bar control. This is definitely frowned upon from a security perspective, and "prohibited" by Vista and Win7. It is also undocumented, and could easily be broken by new releases of MapPoint.

Toolbar accessibility is similar, and an often requested feature. You can switch toolbars on/off, but you cannot add your own buttons.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top