PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Multiple windows in the same app.

Before I put to much time and effort in to this, I thought I'd check with you guys first.

I'm working on a GUI on a HPC with res. 800x600. I want to have all the GUI stuff in the main window (fullscreen size) with a small menu and titlebar, and then a 3D visualization in a smaller overlayed window (shown if this option is selected from the menu or something)

Is this possible with PocketFrog, and if so, could someone give me a few pointers to help me on my way. I know C++ but I'm new to CE and Win32 programming.

I played around a bit with the WS_ styles and have converted the blit demo from fullscreen to a small window with a titlebar so it seems like the rest shouldn't be THAT tough. I figured I have to do something with ATL, but I'm not shure if PocketFrog and "standard" ATL mix (but why not, since PocketFrog utilizes ATL).
You can use PocketFrog without the "Game" framework if you want... Simply create the display/input devices yourself using your own window handle.

But if you are familiar with ATL, then you should use the "Game" framework as it is an ATL window. Be only aware that the window creation process doesn't follow ATL conventions though... This is easy to modify.

Because of the above two possibilities, I see no problem using PocketFrog with a child window in your system. Although PocketFrog wasn't designed for that, it does allow it.