Call the base class's WndProc method to process the message normally. If you don't process the message normally, the form will not be able to resize itself, draw its interior, and perform other standard Windows functions.
Code: Select all
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Debug.WriteLine(m.ToString)
MyBase.WndProc(m)
End Sub