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. General Programming
  3. C#
  4. Transparency not just in forms

Transparency not just in forms

Scheduled Pinned Locked Moved C#
graphicsgame-devdockerquestion
1 Posts 1 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.
  • I Offline
    I Offline
    if_mel_yes_else_no
    wrote on last edited by
    #1

    Why in the world would Microsoft's new Studio 2005 give you something as fun as a transparency property for Forms, and not put that property in for all controls? I would really like to create an application that has transparent buttons, and when the user mouseOvers on the button, the buttons become clearer. I thought it would be a simple tasks, but I just could not get it done. I ended up faking it by having mini forms floating on top of my application, each with a transparency, but it looks buggy when you drag the application around. I want it docked like all other controls, but if you try to make your own custom control that extends from Form, it fails to dock because it considers Forms that the ultimate container so you can't but a Form into anything. I do have some OpenGL experience, and could have a constantly running thread in my application that checks for mouse positions and draws GDI bitmaps to a drawing area with different levels of Alpha. However, I'm really hopping that I can do it more simply than that. Anyone have any ideas, or tried getting other controls to have transparency?

    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