473,385 Members | 1,641 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,385 software developers and data experts.

Suspending screen updates

Hi

I have a winform with a panel on it. I am doing visual changes to the panel.
Is there a way to suspend screen painting during these changes? If the whole
form needs its display suspended then that would work for me too. How can I
do this?

Thanks

Regards
Jun 27 '08 #1
4 1828
"John" <in**@nospam.infovis.co.ukschrieb
I have a winform with a panel on it. I am doing visual changes to
the panel. Is there a way to suspend screen painting during these
changes? If the whole form needs its display suspended then that
would work for me too. How can I do this?
You'll get the best solution if you tell us why you want to do this. Do
you do a lot of visual changes and do you want to speed it up? How long
does it currently take? What kind of changes?
Armin

Jun 27 '08 #2
Hi Armin

I am adding several controls to the panel and would like to display them all
at once when the update is complete.

Many thanks for your time.

Regards

"Armin Zingler" <az*******@freenet.dewrote in message
news:ed*************@TK2MSFTNGP05.phx.gbl...
"John" <in**@nospam.infovis.co.ukschrieb
>I have a winform with a panel on it. I am doing visual changes to
the panel. Is there a way to suspend screen painting during these
changes? If the whole form needs its display suspended then that
would work for me too. How can I do this?

You'll get the best solution if you tell us why you want to do this. Do
you do a lot of visual changes and do you want to speed it up? How long
does it currently take? What kind of changes?
Armin

Jun 27 '08 #3
"John" <in**@nospam.infovis.co.ukschrieb
Hi Armin

I am adding several controls to the panel and would like to display
them all at once when the update is complete.
Can you hide the whole panel before and show it afterwards? Maybe show
an additional "please wait..." label (or similar) during the operation.
How long does it currently take?
? (just to receive an impression)
AZ
Jun 27 '08 #4
John,

Those controls where this makes sense have properties for this.

Have a look at the listview by instance.

http://msdn.microsoft.com/en-us/libr...ginupdate.aspx

Cor
"John" <in**@nospam.infovis.co.ukschreef in bericht
news:eG*************@TK2MSFTNGP04.phx.gbl...
Hi

I have a winform with a panel on it. I am doing visual changes to the
panel. Is there a way to suspend screen painting during these changes? If
the whole form needs its display suspended then that would work for me
too. How can I do this?

Thanks

Regards

Jun 27 '08 #5

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

Similar topics

1
by: robert | last post by:
hi! there's a line in my Javascript program that makes a change in the appearance of an area of the screen. it is a game program, so there are a cascade of changes after the user makes a move....
11
by: Jeffrey Hiess | last post by:
Something like getchar() doesn't work, since it "waits" for input. #include <stdio.h> while (1) { if (getchar()) /* break if any key is pressed */ { break; }
8
by: Kris Dugan | last post by:
I am using a Unix/Solaris 8/9 environment. I want to make a tool that will constantly read a structure of information and display that information (or "paint it") to the screen. Rather than...
0
by: Owen Woo | last post by:
By Microsoft.Win32.PowerModeChangedEventHandler my application can only receive suspending event. But how can I prevent from suspending?
2
by: =?Utf-8?B?S0ItMQ==?= | last post by:
I'm the only user of this computer. It is my home computer. I updated Windows today and it turned on my Login screen that I had a friend disable for me. I have tried a system restore and I have...
5
by: | last post by:
I have a user control (tag) made up up 9 smaller user controls (minitag). I have a panel on a form that is being populated with 81 of the tag controls in a grid configuration. Even though I am...
12
by: Dave | last post by:
Hi all, I have an application which has some worker threads which often have to stop and wait for some further information from other threads. These pauses will often take a long time (a couple...
5
by: Uzi | last post by:
Hi all, I have a thread which is running a long method in a third party component (witch is a com object and accessed via interop). I need to be able to suspend this thread. the...
4
by: Alfredo73 | last post by:
Hi, I am using Visual Basic 2008 to create some databases. It reads data from textfiles and puts them in SQL databases. After the user presses the Process button I would like to give the user to...
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.