plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

ZmanBarzell avatar image
ZmanBarzell asked Yoanito commented

Programmatic Panel Pop out

Bonjour, I am currently trying to find a way to use SimConnect to programmatically pop out a panel on a Boeing plane (Right ALT + Left Click). There are several Simulation Events listed in the SDK that are associated to the panel. I have used my SimConnect Test Harness (C++ .exe) to trigger a SimConnect_TransmitClientEvent for each of these events using multiple indexes with no result.

1673540935754.png


I have also used a .wasm module to trigger_key_event on all the KEY EVENTS associated to panel in the gauges.h (i.e. KEY_PANEL_ID_TOGGLE, KEY_PANEL_ID_OPEN, etc).

There are also several FSAPI functions that have the word “panel” in them but they are not listed in the SDK so I am not sure they are supported anymore. Is there anyway to trigger a panel pop out without using the hotkey combination, for instance with SimConnect or the glass cockpit?

I am also curious as to what these simulation events are supposed to be doing to the panel? Thanks

simconnect
1673540935754.png (75.6 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Yoanito avatar image
Yoanito answered

Hello @ZmanBarzell

Those events are coming from FSX and don't do anything in the simulation, they should have been marked as "Not used in the simulation", it will be changed in the documentation.

Unfortunately it's not possible to spawn a panel the same way that with right ALT + left click with Simconnect.

Best regards,
Yohan

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

ericmarciano avatar image
ericmarciano answered Yoanito commented

This is an interesting question. Do you think we can use an in-game panel as an alternative?

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Yoanito avatar image Yoanito commented ·

Hello @ericmarciano


It is currently not possible in the sim and we do not plan to add it in the next update.

Best regards,
Yohan

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.