×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    108

    How to control the background image of CEikRichTextEditor

    I've found an article http://wiki.forum.nokia.com/index.ph...n_applications , it talks about how to reuse the background image of built-in apps.
    But I just want to make the editor's background transparent.
    I have two ideas:
    1. Can I create a transparent CAknsLayeredBackgroundControlContext ? The SetBitmap() method takes a TAknsItemID& , though I can't find the corresponding ID.
    2. If I can set the bitmap myself, I can use the underlying image as the new background of editor.

    Well, I am stuck. Any tips ?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to control the background image of CEikRichTextEditor

    Are you trying to use your image as the background instead of the theme's image? if thats the case yes thats possible, if i misunderstood your q please clarify..
    Cheers,
    Mayank

  3. #3
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    108

    Re: How to control the background image of CEikRichTextEditor

    Yes, that's what I want. The default background of CEikRichTextEditor is blank white, I want to show my image instead of default background.

    Is it possible to achieve this by using CAknsLayeredBackgroundControlContext ?

    Or how to ?

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to control the background image of CEikRichTextEditor

    I believe the wiki link down below should do the trick for your needs

    http://wiki.forum.nokia.com/index.ph...RichTextEditor
    Cheers,
    Mayank

  5. #5
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    108

    Re: How to control the background image of CEikRichTextEditor

    That article talks about how to draw another picture above the background. I'll try that.
    BTW, is it possible to customize CAknsLayeredBackgroundControlContext's bitmap ?

Similar Threads

  1. Replies: 2
    Last Post: 2009-05-22, 12:11
  2. Skin background in custom control
    By template60 in forum Symbian User Interface
    Replies: 9
    Last Post: 2008-03-25, 11:47
  3. Transparent background for image using S60 emulator
    By emerge in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-08-29, 21:07
  4. Image Control
    By mayankkedia in forum Symbian
    Replies: 0
    Last Post: 2007-02-27, 06:09
  5. [ListBox] Change Background Image of ListBox
    By lsword0112 in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-03-31, 08:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×