1
Window / SFML and Qt5
« on: February 11, 2013, 03:17:27 am »
Greetings everyone,
Im have the same issue as this fella:
Any idea what could cause SFML not to process the MouseButtonPressed anymore?
Im have the same issue as this fella:
Quote
I'm not sure. I'll just looked at the source of SFML, and this is what it looks like:
1.Qt creates the window
2.Qt gives me the HWND
3.I give SFML the HWND Window
4.SFML attaches it's own WndProc callback function to it, but saves the previous (Qt's) WndProc.
5.SFML receives the messages, processes them, then forwards them to the previous (Qt's) WndProc.
So it looks like SFML gets to process the Win32 events before Qt. I don't know why SFML is not processing the key presses (but is receiving mouse messages) then, but why it was previously with Qt 4.8.
Any idea what could cause SFML not to process the MouseButtonPressed anymore?