Windows Message Processing (in all running apps) completely freezing periodically for about 10 seconds when using certain combination of Forms properties on a form with a TextBox/RichTextBox. This behaviour might not be limited to the two controls.
The weird behaviour starts with but is not limited to scrolling text in the textbox with the mousewheel.
Visual Studio 2008, Visual Basic, compiling for .NET Framework 3.5 (Any)
OS: Windows XP SP3
Open new project, add a new form named TestForm, add a TextBox named TextBox1, enable scrollbars on the TextBox. Add the following function to the form:
Public Class TestForm
Private Sub TestForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
' CONDITIONS WHEN STARTS TO SLOW DOWN:
' Form.Opacity < 1.0
' Form.BackColor = Form.TransparencyKey (= whole form is transparent)
' this makes the form completely transparent
BackColor = Color.Red
TransparencyKey = Color.Red
' NOTE: when this is set it starts to slow down
View Complete Post