Hi all,
I'm designing a C# app (VS.NET 2003) with an interface similar in design to
Outlook. I get a lot of 'flicker' when I resize the main form. Anyone have
any quick tips on how to reduce flicker when resizing a form?
Thanks in advance,
Michael C. 5 4543
Currently the form is designed with 2 panels, one containing a treeview, the
other a label.
thanks again,
'visual' mike c.
"Michael C" <mi******@nospam.org> wrote in message
news:JP**********************@news4.srv.hcvlny.cv. net... Hi all,
I'm designing a C# app (VS.NET 2003) with an interface similar in design
to Outlook. I get a lot of 'flicker' when I resize the main form. Anyone
have any quick tips on how to reduce flicker when resizing a form?
Thanks in advance, Michael C.
I think this might help you a bit...
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true);
// Write it down after InitializeComponent() in
// your form's constructor
Regards,
--
Angel J. Hernández M.
MCSD
"Michael C" <mi******@nospam.org> escribió en el mensaje
news:54**********************@news4.srv.hcvlny.cv. net... Currently the form is designed with 2 panels, one containing a treeview,
the other a label.
thanks again, 'visual' mike c.
"Michael C" <mi******@nospam.org> wrote in message news:JP**********************@news4.srv.hcvlny.cv. net... Hi all,
I'm designing a C# app (VS.NET 2003) with an interface similar in design to Outlook. I get a lot of 'flicker' when I resize the main form. Anyone have any quick tips on how to reduce flicker when resizing a form?
Thanks in advance, Michael C.
Thanks for the help Angel, but it's still flickering somewhat. I used your
SetStyle statement and also tried some variations like double buffering, but
the two panels I have in the form are are still showing big black areas
around the edges after I re-size the form, but before they are re-drawn.
Any other ideas? I think the panels are causing the problem, but I don't
know how to get around that...
Thanks,
Michael C.
"Angel J. Hernández" <an**********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... I think this might help you a bit...
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true); // Write it down after InitializeComponent() in
// your form's constructor
Regards,
-- Angel J. Hernández M. MCSD "Michael C" <mi******@nospam.org> escribió en el mensaje news:54**********************@news4.srv.hcvlny.cv. net... Currently the form is designed with 2 panels, one containing a treeview, the other a label.
thanks again, 'visual' mike c.
"Michael C" <mi******@nospam.org> wrote in message news:JP**********************@news4.srv.hcvlny.cv. net... Hi all,
I'm designing a C# app (VS.NET 2003) with an interface similar in
design to Outlook. I get a lot of 'flicker' when I resize the main form.
Anyone have any quick tips on how to reduce flicker when resizing a form?
Thanks in advance, Michael C.
I found this http://www.thecodeproject.com/cs/mis...paintevent.asp even
though is not about a panel but a Treeview & Listview. Those controls like
ur panel are containers. Hope this might help you
Regards
"Michael C" <mi******@nospam.org> escribió en el mensaje
news:HD****************@news4.srv.hcvlny.cv.net... Thanks for the help Angel, but it's still flickering somewhat. I used
your SetStyle statement and also tried some variations like double buffering,
but the two panels I have in the form are are still showing big black areas around the edges after I re-size the form, but before they are re-drawn. Any other ideas? I think the panels are causing the problem, but I don't know how to get around that...
Thanks, Michael C.
"Angel J. Hernández" <an**********@hotmail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... I think this might help you a bit...
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque,
true); // Write it down after InitializeComponent() in
// your form's constructor
Regards,
-- Angel J. Hernández M. MCSD "Michael C" <mi******@nospam.org> escribió en el mensaje news:54**********************@news4.srv.hcvlny.cv. net... Currently the form is designed with 2 panels, one containing a
treeview, the other a label.
thanks again, 'visual' mike c.
"Michael C" <mi******@nospam.org> wrote in message news:JP**********************@news4.srv.hcvlny.cv. net... > Hi all, > > I'm designing a C# app (VS.NET 2003) with an interface similar in design to > Outlook. I get a lot of 'flicker' when I resize the main form. Anyone have > any quick tips on how to reduce flicker when resizing a form? > > Thanks in advance, > Michael C. > >
I tried it without the Panels also... argh it's not working :( The panels
actually have a paint event... I'll keep looking.
Thanks,
Michael C.
"Angel J. Hernández" <an**********@hotmail.com> wrote in message
news:uA**************@tk2msftngp13.phx.gbl... I found this http://www.thecodeproject.com/cs/mis...paintevent.asp even though is not about a panel but a Treeview & Listview. Those controls like ur panel are containers. Hope this might help you
Regards "Michael C" <mi******@nospam.org> escribió en el mensaje news:HD****************@news4.srv.hcvlny.cv.net... Thanks for the help Angel, but it's still flickering somewhat. I used your SetStyle statement and also tried some variations like double buffering, but the two panels I have in the form are are still showing big black areas around the edges after I re-size the form, but before they are re-drawn. Any other ideas? I think the panels are causing the problem, but I
don't know how to get around that...
Thanks, Michael C.
"Angel J. Hernández" <an**********@hotmail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... I think this might help you a bit...
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true); // Write it down after InitializeComponent() in
// your form's constructor
Regards,
-- Angel J. Hernández M. MCSD "Michael C" <mi******@nospam.org> escribió en el mensaje news:54**********************@news4.srv.hcvlny.cv. net... > Currently the form is designed with 2 panels, one containing a treeview, the > other a label. > > thanks again, > 'visual' mike c. > > "Michael C" <mi******@nospam.org> wrote in message > news:JP**********************@news4.srv.hcvlny.cv. net... > > Hi all, > > > > I'm designing a C# app (VS.NET 2003) with an interface similar in
design > to > > Outlook. I get a lot of 'flicker' when I resize the main form. Anyone > have > > any quick tips on how to reduce flicker when resizing a form? > > > > Thanks in advance, > > Michael C. > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael |
last post by:
Here is my problem:
I have a MDI application and when I load my child forms I get alot of
flicker.
I have tried to implement double buffering :
Public Sub New()
MyBase.New()
'This call is...
|
by: Marek Mänd |
last post by:
This seems an IE issue only:
4253 bytes testcase:
http://www.hot.ee/idaliiga/testcases/ieselect/bnlinkingselectinmsie.htm
Can one have
1) a mouseover/mouseout element on TBODY
2) change in...
|
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....
|
by: Charles Law |
last post by:
This is actually a follow on from yesterday's post about masking mouse
clicks in a user control.
The solution I have implemented - from Herfried - places a transparent
window over the entire...
|
by: Per Dunberg |
last post by:
Hi all,
I have to develop a "skinned" application and I have a problem with the
graphics.
When a form is loaded and displayed there's aways a flicker where all the
controls are located on the...
|
by: seamlyne |
last post by:
The first method I ever used for multiple state buttons was to create a
graphic for each button for each state: AboutUs_on, AbooutUs_over,
AboutUs_out, etc. That works great when there are just a...
|
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...
|
by: Wayne |
last post by:
I've noticed some screen flicker when using Access 2003 under Vista
and I'm curious as to whether this is a bug or peculiar to my machine.
In design view, if I make changes to a form and then...
|
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...
|
by: Rainer Queck |
last post by:
Hello NG,
I had/have a bad flicker Problem with my Application.
On starting some applications, while my app was running, the whole Display
started to flicker. Even the desktop Icons!
Looking...
|
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...
|
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,...
|
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,...
|
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...
|
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...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |