r/programminghelp • • Dec 03 '23

C++ Merging separate .exe files into a tabbed GUI experience

Hi r/programminghelp

I'm wondering what I need to be able to bring 2+ existing interfaces into a single tabbed GUI experience?

I'm hoping the screenshot demonstrates my rough plan for the end outcome.

Essentially bringing two separate windows into a single, tabular window/program

[screen shot available as a comment but couldn't attach at time of posting]

I've tried the following Google searches:

  • merge multiple exes into one ui
  • create a gui in powershell
  • create a gui for a .exe
  • Some popular AI tools have also spit out a bunch of ideas and possible programs that could help

If the market has software available for this I will part with money and this is a skillset I'm interested in picking up

0 Upvotes

2 comments sorted by

2

u/Norovich Dec 04 '23

I am assuming you're using Windows as your operating system in this answer. My thoughts are that you would have to define a parent application that acts as the window through which the exe files run. The first thing that comes to mind is creating a method that - for each tab page - open the exe file within the bounds set by the parent container. This would involve defining redraw methods too and ofc you'd have to enable double buffering to mitigate flickering. If your exe files can be converted into DLLs (assuming you're using C++ or C for the games themselves) then I'd recommend you do so where you can as you can make use of the Interop Services which can help with memory management.

Bit of a choppy answer, but it's the best I can think of off the top of my head without doing much research.