Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Keep it running

This thread is locked; no one can reply to it. rss feed Print
Keep it running
Moving Shadow
Member #5,973
July 2005
avatar

I have written a windowed application, but it will only process when I have the window as the top window, if I minimise it freezes until I click on the window again...

How do I tell it to run all the time, regardless of whether it's in focus or not?

Murat AYIK
Member #6,514
October 2005
avatar

http://www.allegro.cc/manual/api/graphics-modes/set_display_switch_mode

EDIT: Sometimes a mode can fail and you may need to try another. Check the return value...

_____________________________________________________
"The world doesn't care about what storms you sailed through, it is interested in whether you brought the ship to the dock or not!"

gnolam
Member #2,030
March 2002
avatar

--
Move to the Democratic People's Republic of Vivendi Universal (formerly known as Sweden) - officially democracy- and privacy-free since 2008-06-18!

Go to: