I'm having the same problem described in this thread:
http://tinyurl.com/9n66u
The issue was solved with this C# code:
public class MyCombo : ComboBox
{
private const int WM_KEYUP = 0x101;
protected override void WndProc(ref
System.Windows. Forms.Message m)
{
if(m.Msg == WM_KEYUP)
{
return;
}
base.WndProc(re f m);
}
}
I think I have translated it to VB.NET properly:
Public Class MyCombo
Inherits DataGridComboBo x
Public Const WM_KEYUP As Integer = &H101
Protected Overrides Sub WndProc(ByRef m As
System.Windows. Forms.Message)
If (m.Msg = WM_KEYUP) Then
Return
End If
MyBase.WndProc( m)
End Sub
End Class
However, I can't get it to work.
Can somebody take a look at it for me?
Thanks...
Matthew
http://tinyurl.com/9n66u
The issue was solved with this C# code:
public class MyCombo : ComboBox
{
private const int WM_KEYUP = 0x101;
protected override void WndProc(ref
System.Windows. Forms.Message m)
{
if(m.Msg == WM_KEYUP)
{
return;
}
base.WndProc(re f m);
}
}
I think I have translated it to VB.NET properly:
Public Class MyCombo
Inherits DataGridComboBo x
Public Const WM_KEYUP As Integer = &H101
Protected Overrides Sub WndProc(ByRef m As
System.Windows. Forms.Message)
If (m.Msg = WM_KEYUP) Then
Return
End If
MyBase.WndProc( m)
End Sub
End Class
However, I can't get it to work.
Can somebody take a look at it for me?
Thanks...
Matthew
Comment