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 fade the screen using Symbian C++
This code example shows how to implement a fading effect in a Symbian application. The effect is similar to the transition effect of the Symbian Web Runtime APIs, for e.g. widget.prepareForTransition("fade");widget.performTransition();
//For fading the screen
//use this code in your DRAW method.
//////////here you can draw bmp/txt/et.c, which you want to show in faded
//here txt n everything looks normal.
TUint8 aBlackMap Black map fading parameter. Unfaded this is 0.
TUint8 aWhiteMap White map fading parameter. Unfaded this is 255
Aworking example is provided here: File:FadingEffect.zip