Jump to content
The simFlight Network Forums

ipc.writeSTR() Window


Recommended Posts

Hi Pete,

It seems in P3Dv4.3 that sometimes the code

ipc.writeSTR(0x3380, "  text ")           
ipc.writeSW(0x32FA, n)

writes to the sim's 'Green Bar', and other times to the common Simconnect window.

Is there a way to force the output text to the "Green Bar", and to know to which type of display window the output will go?

Thx,

Al

FSUIPC5.141e

Win10

 

Link to comment
Share on other sites

51 minutes ago, ark1320 said:

Is there a way to force the output text to the "Green Bar", and to know to which type of display window the output will go?

I'm sure it tells you in the documentation.

Multiline data goes to the SimConnect Message Window, single line to the SimConnect Text (what you call "the green bar". A mult-line message is determined by the presence of a New Line (ASCII 10) or Return (ASCII 13) character code, even if followed by nothing else.

This is similar to the action taken in all previous versions of FSUIPC and FS in which these facilities have been supported.. It was done this way as the closest to some sort of ongoing 'compatibility' that could be achieved.

Pete

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.