Best practice for when an app is sent to the background?

2015-07-23 Thread Paul Dupuis
I have a multi-window (stack) desktop application. In working on some recent enhancements to the app, I got to thinking about the apps behavior when a user clicks on a 3rd party app (sending the app to the background) or minimized/iconifies one or more windows of the app. Specifically handing the

Re: Best practice for when an app is sent to the background?

2015-07-23 Thread Marty Knapp
If you want to know when a user switches to a different app you can use suspend and then resume to detect when they come back. Marty Knapp I have a multi-window (stack) desktop application. In working on some recent enhancements to the app, I got to thinking about the apps behavior when a user

Re: Best practice for when an app is sent to the background?

2015-07-23 Thread Paul Dupuis
On 7/23/2015 12:46 PM, Marty Knapp wrote: If you want to know when a user switches to a different app you can use suspend and then resume to detect when they come back. Duh! I completely forgot about suspend/resume in addition to suspendStack/resumeStack! Thank you.