Page 1 of 1

v5 SDK TextMenu events not working

Posted: Mon Apr 20, 2020 10:25 pm
by 737SimGuy
Hello,

I have an app that has been using the Textmenu events as shown in the SDK textmenu.cpp example. These worked perfectly in P3Dv4 but do not appear to do anything in P3Dv5. Is this deliberate or an oversight? I see the same example is still in the v5 SDK. I am very much hoping these return again soon :-)

enum EVENT_ID {
EVENT1,
EVENT2,
EVENT_MENU_1,
EVENT_TEXT_1,
EVENT_MESSAGE_1,
EVENT_TEXT_WINDOW_CREATED,
};

Any info as what to expect is appreciated. Thank you,
James

Re: v5 SDK TextMenu events not working

Posted: Wed Apr 22, 2020 11:54 am
by TazX
Same issue here using FSUIPC6 and 'event.textmenu'. A very simple script worked in v4.5 but now no textmenu events are triggered.

Something's changed in v5.

Any thoughts?

Re: v5 SDK TextMenu events not working

Posted: Wed Apr 22, 2020 5:48 pm
by zillmer
I've posted on a related issue. Looks like the entire Text Menu and related functionality in SimConnect (which is used by FSUIPC) is broken in V5. It's still listed in the SDK so I presume this is an error/bug, rather than by design.

Re: v5 SDK TextMenu events not working

Posted: Wed Apr 22, 2020 6:53 pm
by Rob McCarthy
Thanks for the reports. We'll investigate this and get back to you.

Regards,
Rob McCarthy

Re: v5 SDK TextMenu events not working

Posted: Sat Apr 25, 2020 10:40 am
by Pete Dowson
Okay. We've located the problem in FSUIPC. It's our code, not P3Dv5. It was all to do with Version Checking. The Text events weren't supported till P3Dv4.2 (for creation) and 4.3 (for destruction), and we had one tiny snippet of code using just the subversion, so P3Dv5 looked like 4.0!! Duh!

This is one of the troubles with trying to support multiple versions when facilities being used change. I wish sometimes we could force all users to keep their sim software up to date!

Pete Dowson

Re: v5 SDK TextMenu events not working

Posted: Sun Apr 26, 2020 5:06 pm
by 737SimGuy
Okay. We've located the problem in FSUIPC. It's our code, not P3Dv5.
Pete Dowson
Wow, ok. I will keep an eye out for new FSUIPC.
Thanks Pete!

James

Re: v5 SDK TextMenu events not working (Resolved!)

Posted: Tue Apr 28, 2020 8:13 pm
by 737SimGuy
Confirmed! This is working again with FSUIPC 6.0.5

Thanks guys!
James