[SDL] sdl window id (win32)
nbasili at ceid.upatras.gr
Tue Aug 24 03:41:21 PDT 2004
On Mon, 23 Aug 2004, Matt Wilson wrote:
> Vasileiou Nikolaos wrote:
> | Under windows, I create an OpenGL window using stadard SDL_Init (SDL
> | 1.2.7)
> | I need to get the window id of that window in order to pop up a
> | MFC CFileDialog as a child window.
> | I know that one solution is to use the SDL_WINDOWID hack but I want my
> | application to remain as cross platform as possible.
> Erm, you just mentioned using MFC, surely that's gonna scupper any
> possible cross platform idea?
Using an MFC file requester on windows, and a custom file requester on
unix systems I think maintains the cross platform idea and it
works on my application great so far.
Sam, thanks for the help!
Maybe it should be made more clear on the sdl_syswm.h header doc that the
information should be filled before calling SDL_GetWMInfo along with a
short example such as:
It could be very usefull to new users
More information about the SDL