


Thank you for this, I will be testing your new build in a few minutes, but further to the offsets issues I've done some testing with FSInterogate. InnerException:ĥ:27:40 PM : ID of the SimConnect event: 0ĥ:27:40 PM : Sending message to PFD AUX.ĥ:27:40 PM : Line0: Ground Power Availableĥ:27:49 PM : ID of the SimConnect event: 0 InnerException:ĥ:18:17 PM : Error when calling myTextMenu.RefreshData(): Group '0~~SimConnectTextDisplay~~' does not exist. InnerException:ĥ:16:29 PM : ID of the SimConnect event: 0ĥ:16:29 PM : Sending message to PFD AUX.ĥ:16:38 PM : ID of the SimConnect event: 0ĥ:16:39 PM : Error when calling myTextMenu.RefreshData(): Group '0~~SimConnectTextDisplay~~' does not exist. InnerException:ĥ:02:24 PM : Error when calling myTextMenu.RefreshData(): Group '0~~SimConnectTextDisplay~~' does not exist.

Thanks for any help!Ĥ:36:48 PM : ID of the SimConnect event: 0Ĥ:57:24 PM : Error when calling myTextMenu.RefreshData(): Group '0~~SimConnectTextDisplay~~' does not exist. I am using P3D 5.9 and FSUIPC_Client.DLL version 3.1.22 with FSUIPC 6.0.10a via WideClient version 7.159.īelow is an excerpt from my log. I used to detect the difference similar to this: That kind of still happens with yours, it sends an empty message of length 0, but it always receives as a TextMessage, never a Menu, so I am only able to clear the TextMessage and not the Menu items. In my old code I was able to detect the Clear event. The Simconnect event ID is always zero.ģ. I occasionally get this error when calling the Refresh method: "Group '0~~SimConnectTextDisplay~~' does not exist."Ģ. It works mostly well except for a few things:ġ. I finally got around to implementing your TextMenu class replacing mine. To make this work I had to change my FSUIPC4.INI file: The plain ToString() method defaults everything to 'true' with a delimiter of "/r/n" (VbCrLf in VB.NET). IncludeMenuPrompt - Pass true to include the menu prompt in the stringĪddNumbersToMenuItem - Pass true to automatically add numbers to the menu items IncludeMenuTitle - Pass true to include the title of the menu in the string RowDelimiter - A string that will be used to mark the end of each row There is also an overload on ToString() that give you more control. The ToString() method will also give you back all entire menu text as a single string. Changed ) // Check if the text/menu is different from the last time we called RefreshData() To get the last text/menu displayed on screen call RefreshData() and then get the text from various properties: Private TextMenu textMenu = new TextMenu () To use this, create a new instance of TextMenu:

I've added a new class called TextMenu in Version 3.1.17 to handle this.
