Is there a way to get the HWND of the windows on a Win32 system? I need to
display a Common Dialog and it needs a window handle to do the proper modal
stuff. Is there a way to get it?
Yes, use the SDL_GetWMInfo() function in SDL_syswm.h
There is an example of its use in the ‘scrap’ demo in the SDL examples archive.
See ya!
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec