SDL and TranslateMessage
Hi,
I have a SDL application that shows some dialogs. I have some textedit controls. When I try to input text to this edi box no text is inserted. Checking the SDL sources I have noticed that TranslateMessage is not called so this should be the problem. I have added it to the message loops, compiled but I still have the same problem. I´m calling SDL_PollEvents to get the events, and it seems not to call any DIB_XXXXXX message function (the ones I edited), so my source modifications are useless. Does anybody know how can I fix this?.
Thanksin advance,
HexDump.
you must include <SDL_syswm.h> and call SDL_EventState(SDL_SYSWMEVENT,SDL_ENABLE) before the window messages will be proccessed.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement