Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi !

Does anyone know if it is possible to access the offsets for the different kind of views (e.g. tower view, cockpit view etc.) and if so.....maybe you can can tell me, which tese offsets are..!?

I was searching the offsets with FSInterrogate but since there are over 1200 attributes, maybe i overlooked it..

thanx a lot...Paschu

Posted

Does anyone know if it is possible to access the offsets for the different kind of views

There aren't any. What would they say if thee were? There's not a particular limit on the number of simultaneous views in FS.

If you only want to change the default window view, use an FS control. If you want to find out whether any open (and visible?) window contains a particular view, I think you need to be running on the same PC as FS, then try to analyse the assorted FS windows by ennumerating them. It certainly isn't easy.

Regards,

Pete

  • 9 months later...
Posted

Hello Pete,

Does anyone know if it is possible to access the offsets for the different kind of views

If you only want to change the default window view, use an FS control.

Pete

I tried to figure out how to get the current active view mode (panel, VC, tower, external) of the default view, but i did get it right. Is it possible to use fs controls to get this? If this is the case, how can i read something from the FS using fs controls? As far as i learned now, one can only write values to the FS using fs controls, right?

regards, Alex

Posted

I tried to figure out how to get the current active view mode (panel, VC, tower, external) of the default view, but i did get it right. Is it possible to use fs controls to get this?

No. I don't know how to get that information. In any case it could be more than one of them at once, through having several windows open. See the "Views - New view" menu in FS.

If you are running on the same PC as FS you could find out by ennumerating the assorted child windows of FS and reading their names (titles, via GetWindowText). But even then I don't think you'd be able to tell which was the "main" window if more than one, though you could read the sizes too and "guess" that the biggest is probably the 'main' one.

one can only write values to the FS using fs controls, right?

Right.

Regards,

Pete

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.