Jump to content
The simFlight Network Forums
Sign in to follow this  
ark1320

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

 

Share this post


Link to post
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

 

 

Share this post


Link to post
Share on other sites

Ah, it was the single line vs multi-line difference that I didn't understand.

Thanks very much for clearing that up.

Al

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.