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

Author Topic: Anyone know how to fix the window focus issue? (clicking on the window canvas)  (Read 3506 times)

0 Members and 1 Guest are viewing this topic.

Lamonte

  • Newbie
  • *
  • Posts: 46
    • View Profile
When I click on the area using a standard render window (black part) the window doesn't focus until I click the title bar or the edge of the window.

I read they fixed this a long time ago, so either the dotnet bindings aren't updated or it was never fixed :/?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
  • Download and compile SFML.NET from github
  • Download and use CSFML from here
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Lamonte

  • Newbie
  • *
  • Posts: 46
    • View Profile
Thanks that worked, I guess .IsOpen isn't a method anymore and I need to use SFML.System now for Vector2f, etc...

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Yep, its just part of finally getting SFML.NET up to par with the core C++ SFML.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Lamonte

  • Newbie
  • *
  • Posts: 46
    • View Profile
Yep, its just part of finally getting SFML.NET up to par with the core C++ SFML.

One thing that's quite weird is changing isOpen() to a variable, because the C++ version is a method as well unless the C++ version is going to change?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Quote
One thing that's quite weird is changing isOpen() to a variable, because the C++ version is a method as well unless the C++ version is going to change?
C++ doesn't know the concept of properties. Everything is implemented with functions in the core API.
Laurent Gomila - SFML developer

 

anything