February 17, 201412 yr 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 PSUNetgear 1Gbps modem & router, (3) 27" 1440 wrap-around displaysFull array of Bravo, Saitek and GoFlight hardware for the cockpit. Varjo and HP VR headsets for mixed reality.
February 18, 201412 yr 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 AviationMy Playland - I69
February 18, 201412 yr 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