|
Nokia N97 SDK Example Applications Guide |
1. About this Example
2. User Interface
3. Design and Implementation
This example demonstrates how an application can be informed when these events occur, and also when the application regains focus again.
To show the effect of losing focus, keep the Applications button pressed for approximately three seconds:
The set of currently running applications will be displayed, and the message 'Lost focus' will appear on the application window. On the PC emulator only, the message 'Lost focus' will appear for a short time.
This function is declared as virtual in the base class, as it is called by the framework every time that focus is lost or gained. In this implementation, this function causes a message to be displayed informing the user that they have lost or gained focus.
|
© Nokia 2009 |