Hello,
As soon as I set the form "isMdiContainer = true", the arrow keys are not
captured by the forms KeyDown routine anymore. All other keys are nicely
captured. When a child form is created also there the arrow keys are not
raising the child's KeyDown event.
See my sample code below: (for Form1: "isMdiContainer = true", and
"KeyPreview = true")
Any ideas out there? Thanks in advance!
Rud.
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
MsgBox(e.KeyCode)
End Sub
End Class
|