Issue with Add-On Menu Item

Post Reply
P3D SpacePort Team
Posts: 12
Joined: Mon Feb 15, 2021 5:58 pm

Issue with Add-On Menu Item

Post by P3D SpacePort Team »

I am trying to get an answer for this old locked topic:

http://prepar3d.com/forum/viewtopic.php?t=119987

I have the same issue: Basically, when creating and destroying menu items in real-time, on demand, the menu system I created in Add-Ons menu section do not appear until I resize the P3D window.

Everything works fine if the menus are created during the DLL set up, before SimConnect_CallDispatch(). However, I have a requirement to show/hide (create/destroy) Add-On menu entries based on an aircraft I selected.

Is there any way to force the menu to refresh?

Thanks,
Mitch
P3D SpacePort Team
Posts: 12
Joined: Mon Feb 15, 2021 5:58 pm

Re: Issue with Add-On Menu Item

Post by P3D SpacePort Team »

I should also add that this problem manifests only if there is no other add-ons present...

So - if my add-on is the only one present, when I add a menu in the middle of the sim session (not at the start), the "Add-Ons" category on the top menu bar is not visible until I resize the windowed P3D screen (force a refresh).

Same with removing - if I remove a menu in the middle of the sim session, the "Add-Ons" category on the top menu bar is visible until I resize the windowed P3D screen (force a refresh)

Thanks,
Mitch
Post Reply