Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

How to get Focus Events

From Wiki
Jump to: navigation, search
Article Metadata
Created: User:Kanu123 (29 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)
The framework calls HandleForegroundEventL of the ApplicationUI class when the application receives or loses focus.
void CExampleAppUi::HandleForegroundEventL(TBool aForeground)
// Base class HandleForegroundEventL.
// if aForeground is true, the application received focus.
// Do Something
// if aForeground is false, the application lost focus.
// Do Something.
This page was last modified on 26 July 2012, at 03:10.
24 page views in the last 30 days.