Is anyone aware of a means to select a particular docked view using code?
There don't appear to be any Simconnect commands for doing it, and I'm not having any luck trying to set focus to a child handle via the Windows API.
The closest I can get to what I want is by automating a mouse click in the area of the view, but in VC, you risk activating a knob or switch if your program does a random mouse click. I don't want to step through menu items either, as that is slow and disruptive.
Anyone with a cunning way to do it, I'd be most interested to hear.
There don't appear to be any Simconnect commands for doing it, and I'm not having any luck trying to set focus to a child handle via the Windows API.
The closest I can get to what I want is by automating a mouse click in the area of the view, but in VC, you risk activating a knob or switch if your program does a random mouse click. I don't want to step through menu items either, as that is slow and disruptive.
Anyone with a cunning way to do it, I'd be most interested to hear.

