Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsThe time that it takes to paint a forms background is far to long. This is how I am doing it.
First I load the picture into a Picture Box control that is hidden on the form. Then using the height and width of the Picture Box I tile the forms background using the appropriate x and y coordinates. This works very well and is extremely fast especially if the picture is small.
My problem begins when I want to apply a picture that is 1024x768 to the form. Obviously there is no need to tile since the resolution I use is also 1024x768. But it seems like it takes forever to load the control with the picture and equally as long to paint the form. I have tried painting the form directly with the picture and not loading the Picture Box but while this takes half the time, it is still far to slow. By slow I mean 1 second up to as much as 5 seconds. The lag is barely noticeable on a P-II but since the typical platform this will be running on is a Pentium-200, I need to find a way to speed this up.
Any comments, questions or suggestions will greatly appreciated.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: kamallPosted on 1998-09-04 at 19:15:32ID: 1433135
Comments are available to members only. Sign up or Log in to view these comments.