Smily not look transparent in CEikRichTextEditor

Login to reply to this topic.
Fri, 2008-07-25 07:38
Joined: 2007-09-26
Forum posts: 4

Hi All,
I have add picture in CEikRichTextEditor using code: Sad

CWindowGc& gc = SystemGc();

CRTxPicture* picture;
picture = new(ELeave) CRTxPicture(gc, aControl, aBitmap, aBitmapMask);
CleanupStack::PushL(picture);

TPictureHeader header;

header.iPicture = TSwizzle(picture);
header.iPictureType.iUid=aSmiUid;

iRtEd->RichText()->InsertL(aPos, header);

picture(smily) shows properly but it does not look transparent(background of smily looks black ) .


Gulab Patil

  • Login to reply to this topic.