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
v5 SDK TextMenu events not working
v5 SDK TextMenu events not working
James
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers
Re: v5 SDK TextMenu events not working
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?
Something's changed in v5.
Any thoughts?
Re: v5 SDK TextMenu events not working
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.
- Rob McCarthy
- Lockheed Martin
- Posts: 3703
- Joined: Wed Aug 24, 2011 1:37 pm
Re: v5 SDK TextMenu events not working
Thanks for the reports. We'll investigate this and get back to you.
Regards,
Rob McCarthy
Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Prepar3D® Core Lead
-
- Posts: 646
- Joined: Sat Dec 18, 2010 3:45 pm
Re: v5 SDK TextMenu events not working
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
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
My System
Win10: 22H2 build 19045.2728
Processor: I9 9900KS at 5.5GHz
Mobo: Maximus XI Extreme Z390
Memory: 32Gb at 3900 MHz.
GPU: RTX 24Gb Titan
Displays: 2 x 2160p projectors at 25Hz onto 200 FOV curved screen
P3D5 set with 2 windows using ViewGroups
Win10: 22H2 build 19045.2728
Processor: I9 9900KS at 5.5GHz
Mobo: Maximus XI Extreme Z390
Memory: 32Gb at 3900 MHz.
GPU: RTX 24Gb Titan
Displays: 2 x 2160p projectors at 25Hz onto 200 FOV curved screen
P3D5 set with 2 windows using ViewGroups
Re: v5 SDK TextMenu events not working
Wow, ok. I will keep an eye out for new FSUIPC.Pete Dowson wrote: ↑Sat Apr 25, 2020 10:40 am Okay. We've located the problem in FSUIPC. It's our code, not P3Dv5.
Pete Dowson
Thanks Pete!
James
James
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers
Re: v5 SDK TextMenu events not working (Resolved!)
Confirmed! This is working again with FSUIPC 6.0.5
Thanks guys!
James
Thanks guys!
James
James
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers
Prepar3D 5.1hf1
Win 10 20H2
32gb ram
Titan X gpu 12gb ram
i9-9900K cpu
Asus Maximus XII mb
November nVidia drivers