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

Sam Lantinga slouken at devolution.com
Fri Aug 17 07:32:48 PDT 2007


> I still think, that in situations like this (just speculating) that it is
> letting SDL still create the window and setting the environment variable
> (HWND) and then GTK or Ogre (in my experience) will pick it up via that.

No, it's the other way around.  The app is setting the environment variable
and SDL is using that as that window.  You might search for SDL and MFC, I
know many people have asked about it and I think someone figured it out.

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



More information about the SDL mailing list