SFML community forums
Help => Window => Topic started by: ghiboz on November 13, 2008, 12:22:36 pm
-
Hi, I need to manage my own callback, so I need to obtain the UINT uMsg, WPARAM wParam, LPARAM lParam...
is possible to handle this without modifying the SFML code?
thanks
-
Create your own window if you want access to OS specific variables.
You can still construct sf::Window using a WindowHandle (http://www.sfml-dev.org/documentation/1.3/classsf_1_1Window.htm#ef6c45b1d53ed4a884ccb9c609d2456a).
-
Yep, constructing a SFML Window with the handle of an existing Win32 window is the cleanest solution. SFML will be able to do its job without altering your own event callback.
But if what you need is a feature which is not implemented in SFML, you can also tell us more about it ;)
-
Create your own window if you want access to OS specific variables.
You can still construct sf::Window using a WindowHandle (http://www.sfml-dev.org/documentation/1.3/classsf_1_1Window.htm#ef6c45b1d53ed4a884ccb9c609d2456a).
thanks mate!