473,398 Members | 2,380 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,398 software developers and data experts.

Flicker in setting opacity.

I have a little animation where I fade out the form by manipulating its
opacity. However, the screen seems to flicker just a little bit. Are
there any tricks to making the form disappear smoother?

Thanks
Nov 17 '05 #1
2 1537
Frank,
loop it,

Best Regards,
Vuong
Tran Xuan

"Frank Rizzo" <no**@none.com> wrote in message
news:ee**************@TK2MSFTNGP12.phx.gbl...
I have a little animation where I fade out the form by manipulating its
opacity. However, the screen seems to flicker just a little bit. Are
there any tricks to making the form disappear smoother?

Thanks

Nov 17 '05 #2
Try using double buffering on your control, it will draw the image in memory
first i.e.
this.SetStyle(ControlStyles.DoubleBuffer, true);
or
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

Cathal
"Vuong" <vu****@yahoo.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Frank,
loop it,

Best Regards,
Vuong
Tran Xuan

"Frank Rizzo" <no**@none.com> wrote in message
news:ee**************@TK2MSFTNGP12.phx.gbl...
I have a little animation where I fade out the form by manipulating its
opacity. However, the screen seems to flicker just a little bit. Are
there any tricks to making the form disappear smoother?

Thanks


Nov 17 '05 #3

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

Similar topics

0
by: kaeli | last post by:
All, The following is an example of what I'm trying to do: I have a box set to be partially transparent. I want the text in the box to NOT be partially transparent. This works in IE, but NN7 has...
5
by: Ian Stiles | last post by:
I have tried everything under the sun to get rid of horrible flashing and flickering that occurs on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form....
0
by: Michael C | last post by:
Hi all, Just in case anyone was wondering - I found out what caused my flicker problem... though I still don't understand why. In my app I initially set the main form's Opacity to 0%. I then...
1
by: mhoeneveld | last post by:
I am writing a small script to fade the opacity of an image/object. The script itself works fine only I do have some unwanted behaviour. I do use a tablecell object and the mouseover/mouseout to...
0
by: Mark Denardo | last post by:
Can someone tell me why setting the opacity of a control in 2005 no longer works like it did in 2003 (using Color.FromArgb)? In 2003, I could make the opacity of the text of a Label 50% by the...
17
by: pigeonrandle | last post by:
Hi, I have seen loads of different ways to do this, but the all seem to yield the same result - text that doesn't flicker when it's moving too slowly! Does anyone know 'the best way' to make text...
1
by: Jeff Williams | last post by:
I have a form with several tabs and I want to dynamically change the opacity of it while shown. Is there a way to stop the form updating on screen until all controls have change opacity then allow...
4
by: Frank Rizzo | last post by:
Hello, I inherited a large Winforms project that is suffering from excessive flicker when switching between portions of the application. I've noticed that most parts of the application (user...
3
Frinavale
by: Frinavale | last post by:
So, the opacity style is rather annoying because every browser seems to handle it differently. I guess it's because opacity wasn't included in the w3c standards to begin with...mind you if it had...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.