[SDL] How to put SDL window into an application on Windows

Sam Lantinga slouken at devolution.com
Fri Aug 17 08:56:07 PDT 2007


> Yes, I made a liitle change in SDL's source code, add function like "HWND
> SDL_GetWnd" (it's just for WIndows), and return SDL_Window. Then we can
> modify the style of this window as needed.

Actually, you can already get the Window from SDL.  Here's an example:
http://www.libsdl.org/projects/scrap/

See ya,
	-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment



More information about the SDL mailing list