changing "Active" view for view events/controls?

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
John Dowson
Posts: 22
Joined: Thu Jun 07, 2018 10:48 am

changing "Active" view for view events/controls?

Post by John Dowson »

When using multiple (undocked) views, how do you select the view to which view events (e.g. AXIS_PAN_HEADING, AXIS_PAN_PITCH, etc) apply?
I can only seem to change the "active" view by clicking in the required view using the mouse. If the current "active" view is an undocked sub-window, and I switch the windows (keyboard) focus back to the the main FS window (programmatically), the view events/controls are still applied to the undocked sub-window rather than the main view/window which now has the focus - why is this?
Post Reply