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