I am developing a full screen Allegro program that needs to make use of a system call to print a bitmap. This System call works just fine and pulls up a temporary dos windows then closes it after execution. However in the process my main program is minimized. The user can resume the Program by clicking on the program on the task bar. However I was wondering if there were any way to return controll to the allegro program immediately after the system call and save the user the extra step. By the way I am doing this in Windows XP if that is important.
Does this work?
#include <winalleg.h> // ... ShowWindow(win_get_window(), SW_MAXIMIZE /* or maybe SW_SHOW*/);
Thank you Matthew Leverton that was exactly what I needed.