Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [VB.NET] FullScreen  (Read 3419 times)

0 Members and 1 Guest are viewing this topic.

DarkDino

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
[VB.NET] FullScreen
« 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 :/?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: [VB.NET] FullScreen
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: [VB.NET] FullScreen
« Reply #2 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.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

DarkDino

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: [VB.NET] FullScreen
« Reply #3 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 :).