SFML community forums
Help => Window => Topic started by: pilehead on June 05, 2011, 07:02:23 pm
-
Hello!
I have created a renderwindow in my program with App(sf::VideoMode(800, 600, 32), "SFML Window");
How can i get its handle (i need it to use in some winapi functions)?
-
In SFML 1.6 there's no clean way to do it, you must use FindWindow or something similar.
In SFML 2 there's a new function that returns the OS-specific handle of the window.
-
thank you!