April 21st, 1999, 05:16 PM
I am developing a graphics application embedded in MFC. I need to know when the application is in the background to stop the simulation loop otherwise it eats up all the CPU cycles. I have tried using OnKillFocus but that doesn't appear to be the right windows message. Does anyone know how to determine when my application has gone into the background? Please help. Thanks.
Chad Goolbis
goolbis@cs.montana.edu
Chad Goolbis
goolbis@cs.montana.edu