|
-
April 21st, 1999, 05:16 PM
#1
Determining When an Application Goes into the Background
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
[email protected]
-
April 22nd, 1999, 12:18 AM
#2
Re: Determining When an Application Goes into the Background
I believe U need to override WM_WINDOWPOSCHANGED.
Good luck and hope U can help others, too. 
Walter
-
April 22nd, 1999, 03:08 AM
#3
Re: Determining When an Application Goes into the Background
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|