Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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!

Posted

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

Posted

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

Posted

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.

Posted

Any ideas on controlling the windows?

In what way? You can control the zoom at least. Probably other things using the discoveries by Matthias Neusinger which were added to FSUIPC recently. Have you checked?

Pete

Posted

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

Posted

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

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.