SDLToWin32
What is this?
This code allows you to draw to and SDL surface as you normally
would, but then blit the contents of this surface to a Win32 window.
I wrote this because I required a Windows GUI level editor that
drew the levels using the same code that the game did. This way
you can get a good feel as to what the level will look like in the game
the level as you edit it.
An MFC example is provided:

What do I need this for?
-
It could be possible to render you game in a multi-doc or
single-doc MFC application.
-
You could add animated buttons to an application
-
You could create a Windows GUI level editor
Where is it?
A zip file with the source code and MFC example is here:
SDLToWin32.zip
Where can I contact the author?
You can usually contact me via the SDL
Mailing List
Tom Wilson (2005)