I'm using SFML for my A level computing project, a physics simulation for my school.
I have a problem however, as I made my own GUI system and I am using SFML's input system. When you make the window size different, the mouse position is incorrect, so clicking a button will click somewhere entirely different.
How can I stop the window from being resized or made fullscreen?
Also, I'd like to be able to get the hWnd, how can I do that?
Problem 1 solved
sf::RenderWindow* rwindow = new sf::RenderWindow(sf::VideoMode(800, 600), "Roller Coaster Simulator", sf::Style::Close);
Now, how can I get the hWnd?