SFML community forums

Bindings - other languages => DotNet => Topic started by: DarkDino on March 03, 2015, 07:26:15 am

Title: [VB.NET] FullScreen
Post by: DarkDino on March 03, 2015, 07:26:15 am
Hello SFML, i have a month working on SFML with VB.Net. But i can't find tutorials about Fullscreen in .NET.

GameWindow = New RenderWindow(frmMainGame.picscreen.Handle)

This code show the screen of my game, but i don't know where i put the Styles.Fullscreen

Anyone have a idea :/?
Title: Re: [VB.NET] FullScreen
Post by: eXpl0it3r on March 03, 2015, 08:09:15 am
The API is very similar to the C++ version, so you can use the official document as reference.
Title: Re: [VB.NET] FullScreen
Post by: zsbzsb on March 03, 2015, 01:54:19 pm
If you choose to have SFML embed itself within another window then you must make that other window switch to fullscreen. SFML can't force a window it doesn't own to switch to fullscreen mode.
Title: Re: [VB.NET] FullScreen
Post by: DarkDino on March 03, 2015, 09:26:49 pm
The API is very similar to the C++ version, so you can use the official document as reference.
Yeah i find this but i can't understand all code and i need remake another code.
If you choose to have SFML embed itself within another window then you must make that other window switch to fullscreen. SFML can't force a window it doesn't own to switch to fullscreen mode.
Really.., thanks for this then i try with Fullscreen Window Form :).