Comments on: X-Plane Menu SDK Sample https:/code-sample/x-plane-menu-sdk-sample/ Developer resources for the X-Plane flight simulator Thu, 07 May 2020 20:21:43 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Tyler Young https:/code-sample/x-plane-menu-sdk-sample/#comment-23143 Thu, 09 Nov 2017 15:39:19 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-23143 In reply to Filippo.

Just to confirm: you have a popped-out, first-class X-Plane window… and you want it to disappear when there’s a modal window (like Settings or Flight Configuration) onscreen?

The behavior that all the built-in windows exhibit in this situation is to simply darken and stop responding to input. (And this behavior comes free to SDK-created windows.)

]]>
By: Filippo https:/code-sample/x-plane-menu-sdk-sample/#comment-23134 Thu, 09 Nov 2017 11:32:25 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-23134 In reply to Tyler Young.

I’m working with an overlayed OS window which i need to hide when the user enters an XPlane “sim blocking” menu… a (working) workaround is to keep note of when the last FlightLoop occured (by using XPLMRegisterFlightLoopCallback), and hide my overlayed win (separate thread) when curtime is after X millisecs. Of course this brings some visible delay…

]]>
By: Tyler Young https:/code-sample/x-plane-menu-sdk-sample/#comment-23091 Tue, 07 Nov 2017 17:27:25 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-23091 In reply to Filippo.

No, we have no plans for something like that. I take it you’re looking to replace the native UI for certain windows?

]]>
By: Filippo https:/code-sample/x-plane-menu-sdk-sample/#comment-23090 Tue, 07 Nov 2017 17:25:47 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-23090 Hi Tyler,
amazing job with XP11! One other question: is there / will be there any way to “listen” to user clicks on menus other than “Plugins”. For example “Location”, “Settings”, etc… ? thx for your help.

]]>
By: Tyler Young https:/code-sample/x-plane-menu-sdk-sample/#comment-22672 Thu, 19 Oct 2017 19:39:03 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-22672 In reply to Diego Altgenug.

It’s in XPLMMenus.h. Do you have XPLM300 defined, and are you using the Version 3 SDK?

]]>
By: Diego Altgenug https:/code-sample/x-plane-menu-sdk-sample/#comment-22671 Thu, 19 Oct 2017 19:33:59 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7775#comment-22671 One Question,
how can´t I find the method from the lib XPLM300 , XPLMFindAircraftMenu??
Is ther a trick?

]]>