![]() |
|
Resuming a full screen Allegro program in windows |
Wilson Saunders
Member #5,872
May 2005
![]() |
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. ________________________________________________ |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Does this work? #include <winalleg.h> // ... ShowWindow(win_get_window(), SW_MAXIMIZE /* or maybe SW_SHOW*/);
|
Wilson Saunders
Member #5,872
May 2005
![]() |
Thank you Matthew Leverton that was exactly what I needed. ________________________________________________ |
|