Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor eekisa's Avatar
    Join Date
    Mar 2003
    Posts
    57
    My application is skin aware and is thus using the backgound specified in Themes. How can I create a Label that has it's text specified in e.g. Red and the background is "transparent", meaning that the bitmap is visible thought label's background. OverrideColorL() seems to make the backround non-transparent :(

  2. #2
    Regular Contributor eekisa's Avatar
    Join Date
    Mar 2003
    Posts
    57
    If anyone is interested, I overrided the Draw method to make my own skin-aware label control.

  3. #3
    Regular Contributor kamalsinghania's Avatar
    Join Date
    Dec 2004
    Location
    Mumbai
    Posts
    67
    Hi I'm interested in how you got ur Draw method over ridden to get a transparent label. Please let me know ASAP.


    Thanx

    Kamal Singhania

  4. #4
    Regular Contributor dathom's Avatar
    Join Date
    Feb 2004
    Posts
    58
    in Series 60 v 20 CEikLabel has a method SetBrushStyle()
    call this method after construction with CGraphicsContext::ENullBrush parameter. This will help.

  5. #5
    Registered User gbtw's Avatar
    Join Date
    Jan 2005
    Posts
    5
    Yeah sure if you wanna share your override draw method for label. I have implemented the same label but the skin image on background of label is "some part of the skin image" which you cannot call as "transparent".

  6. #6
    Regular Contributor nicholasgaye's Avatar
    Join Date
    Mar 2005
    Posts
    176
    after calling setbrushstyle u can draw using a pen with the color u want... i've seen some application wich have a transparent backgroud. how can this be done?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved