following code can be deployed to fade background
drawableWindow()->FadeBehind(ETrue ); //place popup containers draw()
or
view's container->drawableWindow()->FadeBehind(ETrue ); // in view class
Tuesday, September 16, 2008
wrap text - Symbian S60
TBidiText* bidi = TBidiText::NewL(atext, 10); // atext - text to be displayed
// 10->no.of lines (reduce as much as possible)
// each line OS will take 8 bytes extra
bidi->WrapText(aRect.Width(), *iFont, NULL); // iFont (font reference )
TPtrC text = bidi->DisplayText();
note: tbiditext - inbuilt function
// 10->no.of lines (reduce as much as possible)
// each line OS will take 8 bytes extra
bidi->WrapText(aRect.Width(), *iFont, NULL); // iFont (font reference )
TPtrC text = bidi->DisplayText();
note: tbiditext - inbuilt function
Subscribe to:
Comments (Atom)