Groups | Blog | Home
all groups > dotnet drawing api > july 2003 >

dotnet drawing api : Component Opacity


Christian de Bellefeuille
7/31/2003 12:32:38 AM
Hi,

Does anyone know how to change a "Component Opacity"?

I mean, if i want to use a RichTextBox, there's no
Opacity property. If i set it's BackColor to
Color.FromArgb(75,255,255,255) for example, it just keep
telling me that it doesn't support Transparency.

If i create my own user control, it doesn't let me change
that too.

for example, MSN Messenger 6 embeeded that in their chat
window. You can set a background image to the main chat
window, and where the text appear (could be a
richtextbox) it's just a bit transparent.

Do i have to make to draw the hole object? Is that just
a trick and Transparency doesn't really exist for
components?

Thanks
Dim
7/31/2003 9:47:25 AM
http://www.c-sharpcorner.com/Code/2003/May/TransparentControls.asp


Check this out



[quoted text, click to view]

AddThis Social Bookmark Button