Thanks guys!! ^^ I have most of the code very organized and separated the most I could from 'scrn.cpp'. Everything that has to do with the MDI is on a new source file 'mdi.cpp', to make things even more organized I might create a 'mdi.h' (header) so we only have to include it at 'burner.h' once.
At this moment the new child window (video window) is working fine, and handle all the window messages like, Right Click (compact window), Left Double Click (Fullscreen mode), WM_SIZE and other essential messages. All of these are not handled on 'scrn.cpp' since It may cause some conflicts while intercepting the same stuff (Menu messages and other application messages are still handled at 'scrn.cpp').
Im doing some adjustments of code since there are some bad calculations when dragging the window on compact mode while pressing the mouse left button (menu hidden). After I adjust that piece of code I will prepare to share the code with the FB Alpha Team first, then post a Test Binary so everyone can report any bug or recommend possible features.
As Barry mentioned, this new FBA feature creates new possibilities for interesting things. Running multiple game at the same time (as FerchogtX mentioned) "could" be possible in the future, and if someone owns a big LCD / LED TV / Plasma / etc... they could play for example, Metal Slug 4 in half of the screen using GamePad 1 and the other half of the screen play Marvel vs Capcom with another input device.
Or like IQ said, maybe this could be useful for games that use Multiple Screen.
All of these possibilities will require a little bit of extra work on the code but at least this MDI core is a clean organized start
, implementing new features should be very easy in the future.
BTW, sorry if I haven't been posting more progress constantly, I been working on irregular schedule and I'm not having much time free, but I should be ok starting the next week
.
Stay tuned for more about these features ^^.
Technical Note: MDI features will require at least Windows 2000 client, as specified at Microsoft Developer Network (MSDN), this shouldn't be a problem since I believe Windows 98 is 'very' obsolete and shouldn't be used to run FB Alpha, LOL.
SeeYaa!