Jump to content
The simFlight Network Forums

Controlling view selection through FSUIPC


Recommended Posts

Dear Pete,

I am trying to control the view selection with an external program driving FS through your FSUIPC. In particular I wish to read which view has the focus in FS, and then select the view that I want to operate. FS has them numbered starting from 00 apparantly.

Creating new views, closing them, changing view mode, selecting next view and panning etc works fine through commands into offset 0x3110. Just reading which view number has the focus would help me forward.

Any suggestions?

Thanks

Niner Mike

PS: I bought a FSUIPC registration key with pride!

Link to comment
Share on other sites

I am trying to control the view selection with an external program driving FS through your FSUIPC. In particular I wish to read which view has the focus in FS, and then select the view that I want to operate. FS has them numbered starting from 00 apparantly.

Does it? I thought they only had names. However, I've no real way of getting information on which has focus other than the current view mode TYPE in offset 8320. Will that do?

Pete

Link to comment
Share on other sites

Thanks for your very fast reply, Pete.

Offset 8320 does a fine job for my application, but I am also seeking to control the 'currently selected window'. Maybe 'window' is a better term then 'view' in my original question.

It indeed seems to me that the 'windows' are numbered in FS starting from 00.

Any ideas on controlling the windows?

Thanks!

Niner_Mike

Link to comment
Share on other sites

Hi Pete,

While I am asking... any more info or update on offset 8300:

8300 256 Area in FS2002 and FS2004 reporting and controlling assorted views. Details of those values known follow. This information has been supplied by Matthias Neusinger.

Maybe that could help me?

Thanks !

Niner Mike.

Link to comment
Share on other sites

While I am asking... any more info or update on offset 8300:Maybe that could help me?

Isn't that where I referred you in the fist place? ("...the current view mode TYPE in offset 8320."). Remember?

All I know is written in the documentation. And I only know that because Matthias told me.

Regards,

Pete

Link to comment
Share on other sites

Hi Pete,

Ahof course... I misread the 256 bytes from offset 8300 onwards. Now I see that Matthias' discoveries stretch all the way to 83FF, and are documented in your doc. Sorry for the misunderstanding.

Do you happen to know how I can reach Matthias directly? My email is steven_luys[at]yahoo.com. In the meanwhile, I'll try some undocumented offsets, you never know I stumble across my desired functionality....

Thanks for providing me these insights, Pete!

Niner Mike

Link to comment
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...
 Share

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