   multiple windows in C++
  Basically, I'm making a small 3D game.  Since I have the basic architecture up (state system, rendering, basic mouse/kb input, mesh loading) I decided I would like to start steering away from making the actual game, and lean more towards making a solid editor for the game.With that said, I'd like to just load up the basic level with its textures, and then have a secondary window open up depending on what I'm trying to edit.  So, if I want to add lights to the scene I would press 'L', for instance, and it would open up a window that would then let me change some light properties and such.  I have mouse input and picking working so I could then put some sphere representation of a light int he world, drag it around, and then in the end be able to save out the information.I already started working on this but using billboarded poly's as my "buttons"...but this isn't really working out because it's interfering with screen space to see what I'm actually working on.Can anyone point me in the correct direction for some code to open up a second window in C++ and be able to send messages or just share variables between the two windows?Thanks!   
  Generally, you create a second window just like you create a first window. The specifics depend on what operating system you're using, possibly what window manager and any toolkits you're using (e.g. wxWidgets, MFC, etc.).   