×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    92

    How to set image in active skin

    Hi All,

    I am able to get the instance of active skin and able to
    set the skin to my view .

    but i want to set image in skin

    How can i do this ?

    Waiting for reply...........

    Thanks And Regards,
    Yogesh

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: How to set image in active skin

    Hi,

    I Think you want to draw an image in the screen which is having a skin. What about the DrawBitmap() function.

    Regards,
    Peter

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    92

    Re: How to set image in active skin

    Hi Peter,

    Thanks for reply .

    But i want to set image in skin because their is one control(Rich text editor)
    in that view i want to set image at the background of text editor.

    I am able to set skin to editors background but not image.

    so how can i set image in skin ?

    Waiting for reply................

    Thanks And Regards,
    Yogesh

  4. #4
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: How to set image in active skin

    Hi,

    Hope This wiki page will help you out
    http://wiki.forum.nokia.com/index.ph...RichTextEditor
    Regards,
    Peter

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    92

    Re: How to set image in active skin

    Hi peter,

    thanks for reply,

    But i already gone through this link.

    This link for

    "Nokia published in 2006 an example code (S60 Platform: Rich Text Editor Example v2.0) demonstrating how to insert an image into CEikRichTextEditor. However, the published solution is not skin aware: if the CEikRichTextEditor control is made skin aware the inserted pictures are drawn on white background. "

    That's why i want to insert image in skin.

    so how i ?

    Thanks And Regards,
    Yogesh

  6. #6
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    113

    Re: How to set image in active skin

    I've used that link for set image to the editor background,
    http://wiki.forum.nokia.com/index.ph...RichTextEditor

    and the editor background appeared as default mobile skin ,
    so how to modify that code to set certain picture as editor background ??
    please I need help

  7. #7
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    113

    Re: How to set image in active skin

    Code:
    I've used that link for set image to the editor background,
    http://wiki.forum.nokia.com/index.ph...RichTextEditor
    
    and the editor background appeared as default mobile skin ,
    so how to modify that code to set certain picture as editor background ??
    please I need help
    No one reply???

  8. #8
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How to set image in active skin

    As someone pointed out in http://wiki.forum.nokia.com/index.ph...RichTextEditor should be sufficient what you need to do.

    In your container class (ie the one where you called CreateWindowL) you override the Draw function and draw your bitmap in there.

    Experiment with drawing the background in a different colour like the example shows in the bit where USE_SKIN is not defined, once that is working replace the code with the bitmap you want to display.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. How to set an image as the wallpaper?
    By cj.hust in forum Symbian
    Replies: 6
    Last Post: 2007-07-18, 07:20
  2. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  3. Active objects in EXE second thread
    By inguvaseshu in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-08-10, 05:35
  4. how to set snapshot image dimension
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2006-08-02, 07:29
  5. Loading Image data from 'raw' bytes
    By LongSteve in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-20, 17:38

Posting Permissions

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