index > Visual C# General > Usercontrol refresh issue

Usercontrol refresh issue

I have created a custom user control (completely owner drawn) that is contained within another user control (not-owner drawn, serves as a container) and whenever a form from another running application/process goes over the parent/container control, the graphics do not refresh properly.
UserControl Container (Non-Owner drawn)
|
--->User Control (100% Owner drawn)
(When another application goes over the surface of my user-control the owner drawn user control is in need of a refresh but it takes me minimizing the application to get it to redraw without any clipping.
Any ideas on how I might fix this?
AGoodman

Hi AGoodman,

I am having the same issue. Here is my current thread if you want to take a look.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=375260&SiteID=1




Rick
csharpnewbie001
Hey csharpnewbie001, thanks. I realized when I changed from e.ClipRectangle to this.ClientRectangle my drawing issues went away. I'm gonna jump over to your thread and try to see if I can help you with your issue now. Thanks a bunch!
AGoodman
reply 3

You can use google to search for other answers

 

More Articles

• Condition to check the Window properties..
• How to make several Textbox control use a single method.
• isc_que_events
• DataSet Problem (Access Database)
• checkListBox to Array
• DateTime CultureInfo
• Can C# be Forced to Visually Cache its Forms?
• C# WMI Win32_Process What Firewall ports need to be open?
• Resources.resx
• Menu usage in C#
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• MSHTML and C#
• ms sql bakup file to mdf one.
• C# Express Publication
• Code Behind pages for VS C# 2005
• How to restart from Standby or Hibernation
• GetMethods(BindingFlags.Public) not retu
• How to create a trial version of my Soft
• AspNetSqlProvider
• How do I set an "Open with..."
• my application talk to another app like
• R6034 (load DLL without manifest) or Sys
• How to prevent ComboBox auto DropDown
• Calling c# function in c++
• Panel/UserControl behavior
• Unable to load class library

Hot Articles

• How do I stop the character from appeari
• How To Draw Image forms center
• Positioning control on a form
• finetuning .NET 2.0 tracing
• How can I compact Access Database?
• C# Obfuscation - need some input for my
• Data set
• How Can I extract information from XML f
• Question about using a winform as Messag
• error when binding a maskedEd control to
• How to get return code from a launched p
• Click Once Deployment error
• C#-Client to sync with Outlook.
• Print to a File in the server
• Array.FindIndex () trouble.

Recommend Articles

• How do I change a font size of the text
• SQL data
• Form error message after upgrade form Be
• list Box
• Managed equivalent function of DWORD Get
• passing null to integer type parameter
• movie collection starter
• ICustomTypeDescriptor
• TreeView Question Pt2
• is there an HTML Validator plugin?
• Regarding Popup Window
• Dynamic assembly loading with static fun
• Equivalent C# statement
• How do I enable Drag Drop Events for the
• progress bat in server and client file t