• 0

Transparency on forms


Question

I'm trying to create a transparent look on a form that is an mdiParent using vb.net. If it's not an mdiParent, me.opacity = .75 works fine. But as soon as I make it an mdiParent, it doesn't work anymore. I looked it up on msdn and it says don't use opacity when using mdi children. So how can I implement transparency?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I don't know if would work, but use the SetLayeredWindowAttributes API. You'll probably need to use GetWindowLong and SetWindowLong to change the style of the form to WS_EX_LAYERED. If MS is saying not to do it, I'd suggest you not do it.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.