Hi folks,
I’m trying to use SDL_SetEventFilter, to filter window events, but it
doesn’t seem to work with SDL_WINDOWEVENT_CLOSE (and I suspect won’t do with
others). My window gets closed anyway.
It looks like the issue in SDL_win32events.c line 493, the return type of
SDL_SendWindowEvent is ignored, so it has no idea whether I filtered out the
message or not, and CallWindowProc is still called with the close message
when I don’t want it to be. Could someone take a look at this?
Thanks,
nhOn 11 June 2010 22:51, Nether Hound <@Nether_Hound> wrote:
Is there a replacement for EnableKeyRepeat?
How do I get valid text input from an SDL_TEXTINPUT event? What exactly
does SDL_TextInputEvent.text contain, and how do I convert it into readable
characters.Key down events now have mod as a Uint16 instead of SDLMod. Has the
usage / what the value represents changed as well?Is there a way to prevent the window being destroyed when the close
button is pressed, and just get an SDL_QUIT event like before?Thanks in advance,
nh