Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How can I make a label or a textbox transparent?

How can I make a label or a textbox transparent?

Scheduled Pinned Locked Moved Mobile
questiontutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JUNEYT
    wrote on last edited by
    #1

    Hello! I searched in the google for the question but I haven't found a sufficient solution yet. So if know how to make a label or a textbox transparent, would you please show me how to do it? Regards. J.

    What a curious mind needs to discover knowledge is noting else than a pin-hole.

    M 1 Reply Last reply
    0
    • J JUNEYT

      Hello! I searched in the google for the question but I haven't found a sufficient solution yet. So if know how to make a label or a textbox transparent, would you please show me how to do it? Regards. J.

      What a curious mind needs to discover knowledge is noting else than a pin-hole.

      M Offline
      M Offline
      Michel Godfroid
      wrote on last edited by
      #2

      It all depends on what you mean by transparency. In WinForms 'transparent' usually means your control is painted with the background color. This is probably not what you want. Real Transparency is achieved through a technique called alpha-blending, and is available in GDI+, which is currently not implemented in Windows CE. SO you'll have to wait for Windows Phone 7 and Silverlight on the phone to get some operating system support for this (and your mileage may vary). Note that you can still achieve transparency on Windows CE by painting the control yourself, and implementing your own Alpha-Blending routine. I've stumbled on a little library that may or may not be helpful:http://www.topshareware.com/WMGL-(Windows-Mobile-Graphics-Library)-download-72671.htm[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups