473,465 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to autoredraw panel?

Hi all

I set a panel's backgroundimage at design time. I have few textboxes on the
panel.
Every time I use right mouse click to copy/paste into these textboxes, the
pieces of system popup menu stick to the background and can only be removed
by minimizing / restoring the form, i.e. re-painting it. This does not look
nice.
Is there any way to make the panel auto-redraw itself?

Thank you
Alex
Oct 31 '07 #1
1 2699
On 2007-10-31 12:32:03 -0700, Alex K. <Al***@discussions.microsoft.comsaid:
I set a panel's backgroundimage at design time. I have few textboxes on the
panel.
Every time I use right mouse click to copy/paste into these textboxes, the
pieces of system popup menu stick to the background and can only be removed
by minimizing / restoring the form, i.e. re-painting it. This does not look
nice.
Is there any way to make the panel auto-redraw itself?
Normally, it should already. The system should be caching the bits
under the menu or when it can't do that, invalidating the area
affected, causing a redraw. Are you doing some sort of custom drawing,
or otherwise altering the normal control invalidate/redraw mechanism?

You should probably post a concise-but-complete sample of code that
demonstrates the problem.

Pete

Oct 31 '07 #2

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

Similar topics

1
by: Gary | last post by:
hi, what is the change over from vb6 to vb.net in the case of picturebox1.autoredraw = true ? thanks, Gary
0
by: Derek Tremblay | last post by:
Hello every body !! i need your help in GDI+ can you help me ? (PS : sorry for my poor english) Probleme : i want simulate AutoRedraw in .NET PictureBox control (in VB6 the property...
3
by: Fabrizio | last post by:
Hi, There is any chance to insert a control like a text box in a panel choosing the absolute position? When I try to insert a label , the panel positions the control on a locked position. Thanks...
9
by: Bill Long | last post by:
I have a control that simply displays a list of links. Following one of the links doesn't post back or redirect to another page, it simply hides the current panel and shows the one you selected......
1
by: XY | last post by:
I've noticed that neither forms nor picture boxes have the autoredraw property anymore in VB .NET. What substitute is there for it? What lines of code should i write to grant the form or the...
8
by: Doug Marquardt | last post by:
Hi All: I want to simulate VB6 Autoredraw in VB.Net I figure I would probably have to create a memory dc, paint to that, and then create a bitmap based on the dc and copy that image into a...
10
by: markwalker84 | last post by:
Hello everyone! Got a bit of a problem... Two of the panels on my program contain a number of check boxes. The exact number of which is determined by a pair of variables. I have recently...
0
by: =?Utf-8?B?LnBhdWwu?= | last post by:
i've got some code that runs via a background worker on another thread. the code draws a graph to a picturebox. vb.net hasn't got an autoredraw feature, so i'm trying to draw the picturebox image...
2
by: Jerry West | last post by:
Is there a comparable .NET function for the VB6 Form's .AutoRedraw function? JW
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
0
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 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.