Jump to content
Sign in to follow this  
Paul-Henri

Undocked views

Recommended Posts

Hello,

 

Under FSX undocked views always appears with a two pixels border that can't be removed. Using Prepar3d, do we have the same behaviour or is it possible to remove the border of the undocked views ?

 

Thank you !

Paul-Henri

Share this post


Link to post

Not in v1.4 we can't. Whether this will be possible in v2.0 is a question we'll just have to wait to find out. ^_^


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post

Under FSX undocked views always appears with a two pixels border that can't be removed

For FSX. It can be done, you'll need to write an app and make a few API calls!

 

As for P3D? What Bill wrote,

Share this post


Link to post

Bill, Ramon,

 

Thank you for your answers !

So, I will wait to see wether is will be possible in the V 2.0 or not ...

Ramon, I'm can you tell me a little bit more about the solution you mentionned for FSX ?

 

Best regards.

Paul-Henri

Share this post


Link to post

Thank you for your answers !

 

So, I will wait to see wether is will be possible in the V 2.0 or not ...

Ramon, I'm can you tell me a little bit more about the solution you mentionned for FSX ?

 

Best regards.

Paul-Henri

You're welcome.

 

It is not hard, but needs some programming:

 

Using API calls you get a handle to the main FSX window; (Or with managed code C#, you can get the FSX main window handle via Process)from there you can enumerate its child windows.

 

Once you have a handle to a window, you call some other API methods, in this case GetWindowLong, SetWindowLong and SetWindowPos. You can then get or set the window style and position.

 

Cheers

Share this post


Link to post

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
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...