473,320 Members | 2,035 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Transparent UserControl

i have written a costum user control for my program works like an empty
windows form,
for styling and using reasons. and then i create inherited controls from
that my main form design..
everything workd great till this point.. and then my client wanted the forms
appear from full transparency
to full opaque, and i realized that windows controls dont have an opacity
property... so my question is
how can i add transparency animation to my control?

p.s.: i have searched the msdn and couldnt find a q/a for this situation..
thanx for spending your time..
Feb 20 '07 #1
2 6045
Hello Serdar,

Believe Bob wrote something about it here:

http://www.bobpowell.net/transcontrols.htm

However, there are a lot of problems involved in this. This will work as
long as
you don't use double buffer. However, not using double buffering will cause
your
application to flicker if your control has animation.

Morten

"serdar.c" <se******@microsoft.certified.solution.developer.c omskrev i en
meddelelse news:Of**************@TK2MSFTNGP04.phx.gbl...
>i have written a costum user control for my program works like an empty
windows form,
for styling and using reasons. and then i create inherited controls from
that my main form design..
everything workd great till this point.. and then my client wanted the
forms appear from full transparency
to full opaque, and i realized that windows controls dont have an opacity
property... so my question is
how can i add transparency animation to my control?

p.s.: i have searched the msdn and couldnt find a q/a for this situation..
thanx for spending your time..

Feb 20 '07 #2
thank you for the information :)
have a nice day...

"Morten B. Post" <mo****@allsemantics.comwrote in message
news:eF****************@TK2MSFTNGP03.phx.gbl...
Hello Serdar,

Believe Bob wrote something about it here:

http://www.bobpowell.net/transcontrols.htm

However, there are a lot of problems involved in this. This will work as
long as
you don't use double buffer. However, not using double buffering will
cause your
application to flicker if your control has animation.

Morten

"serdar.c" <se******@microsoft.certified.solution.developer.c omskrev i
en meddelelse news:Of**************@TK2MSFTNGP04.phx.gbl...
>>i have written a costum user control for my program works like an empty
windows form,
for styling and using reasons. and then i create inherited controls from
that my main form design..
everything workd great till this point.. and then my client wanted the
forms appear from full transparency
to full opaque, and i realized that windows controls dont have an opacity
property... so my question is
how can i add transparency animation to my control?

p.s.: i have searched the msdn and couldnt find a q/a for this
situation.. thanx for spending your time..


Feb 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tom | last post by:
why doesn't user control support transparent ? even after you programmatically make it transparent the controls that you add on it still doesn't transparency where they normally would in a winform...
1
by: jojo | last post by:
I' d like to develop an active x UserControl, using VB6, with transparent background. The user control will contains an image control. When load GIF image with transparent parts I want that parts ...
7
by: Chuck | last post by:
I am working in C# 2003. Can anyone tell me how to make a user control transparent. VS help doesn't help. What I want to do is draw on a user control during design time and then place the...
2
by: Jaikumar | last post by:
Hi, 1) I have created one windows application, In the main form ( form1) i have added one usercontrol (usercontrol1), In that user control i am drawing one image. 2) In the UserControl1 i am...
8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
1
by: active | last post by:
I have a UserControl that contains two pictureboxes. One on top of the other. The top one is smaller then the bottom one. The top one is to be transparent. I want to draw on it and then sometimes...
0
by: FredC | last post by:
I'm using VS C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a picture box set...
1
by: FredC | last post by:
I'm using VS 2003, C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a...
3
by: NickP | last post by:
Hi there, I have a usercontrol that inherits from Windows.Forms.Button. In the OnCreateControl method I set the style of the control so that it supports transparent backcolor and set the...
2
by: \(O\)enone | last post by:
I'm trying to create a usercontrol that is transparent, both visibly and to mouse clicks. I can make the usercontrol visibly transparent by setting the SupportsTransparentBackColor style and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.