Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help in capturing an event...

Featured Replies

  • Commercial Member

Before I ask this please understand I am not a programmer so my terminology may be way off.  Here goes...

 

Is there a utility or way to capture an eventID/tag/message that is happening within P3D?  I am doing research for one of my programmers to see if there is some way to capture a message that is not published in the SDK.  The event would be when a user selects 'Active Runway' when he selects an airport.

 

I am not looking for all the algorithms or formulas that decide just what is the active runway.  I want to catch the message way before that.  The message that says "I want the active runway".  Any way I can capture that?

 

Thx,

 

Clutch

Intel i9-12900KF, Asus Prime Z690-A MB, 64GB DDR5 6000 RAM, (3) SK hynix M.2 SSD (2TB ea.), 16TB Seagate HDD, Gigabyte GeForce 5080 RTX, Corsair iCUE H70i AIO Liquid Cooler, UHD/Blu-ray Player/Burner (still have lots of CDs, DVDs!)  Windows 10, (hold off for now on Win11),  EVGA 1300W PSU
Netgear 1Gbps modem & router, (3) 27" 1440 wrap-around displays
Full array of Bravo, Saitek and GoFlight hardware for the cockpit. Varjo and HP VR headsets for mixed reality.

  • Commercial Member

Sure... hack (short and probably inaccurate term for complex code needed to get where you need to go) into the popup window and tie into the drop-down list where you select the runway. When the popup first loads, it always defaults to the active... thus you only need to notice if it's changed and re-selected.

Ed Wilson

Mindstar Aviation
My Playland - I69

The airport selection dialog is a child window of P3D.  Each drop-down list on the dialog window is itself a child window of the dialog.  You need to start enumerating child windows until you find the correct one.  Then hook the message queue for that window to monitor when it changes values.  You should also be able to query the drop-down to find out its current value.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.