Keyboard events not work after SDL_CreateWindowFrom

"Rang" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hi,

When creating window by SDL_CreateWindow - all ok, events from keyboard are exist.

When creating window by SDL_CreateWindowFrom - keyboard events are not added to queue. And with SDL_PollEvent loop i can't handle them.
All other events work fine.

SDL_GetKeyboardFocus return 'null'.

Program written on Delphi, have main Form (TForm) and Panel object (TPanel) on them. SDL window is created on Panel (with Panel.Handle = hwnd).

Has anyone experienced this?

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.