   Win32 GUI + SDL app ??
  Hello,I'm wondering how to (whether it's possible..) code an app with a Win32 standard window frame, with menu, toolbar(s), etc.. and with a  SDL display surface inside, such as (for example) this pic :It will be a level editor indeed.But I heard SDL lib create its own WinMain() function at init and dunno how to build the program main structure to pass through conflicts, win GUI first and SDL inside, or separately, with a pointer to the empty rect..?Can SDL still be sort of WinMain()'s child, or whatever ?   _____________________________________________6 million ways to die, choose one...[edited by - Acetate on May 23, 2003 3:27:03 PM]
  Hi,What do you think about that picture :- The program loads a clean OpenGL window and a control panel.See on my website for the demo, it's so easy to use ...========================Leyder Dylan (dylan.leyder@slug-production.be.tf   http://www.slug-production.be.tf/[edited by - Leyder Dylan on May 23, 2003 2:55:56 PM];  Thx man but I didn''t find any link to it on your site :/Anyway you think that it could work with SDL ? I use some OpenGL stuff in the game but not in the level editor (or maybe I should turn my code to GL though...).  ;  SDL is made to be cross-platform, so it can''t really be made subordinate to the main program of another platform (like win32). But if all you want is to have an area where you can use OpenGL drawing functions, you can do that with the Win32 API. Which is sort of a pain to learn, but it shouldn''t be too bad.  ;  Ok I''ll leave SDL for the editor and use pure OpenGL graphics instead..  ;  You could try something like wxWindows. It has OpenGL support and is a cross platform windowing system.    Why you shouldn''t use iostream.h - ever! | A Good free online C++ book;  well, you could make your own sdl gui if you really want to use sdl. but i would just use opengl & win32.    doh, nuts. Mmmm... donutsMy website