Private Sub txtPIDSearch_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtPIDSearch.KeyUp Try If e.KeyValue = Keys.Enter Then 'do something End If Catch ex As Exception MsgBox(ex.ToString) End Try End Sub
Thanks for the tip, Kirk...I'll continue down this route as this is the only info I've been able to acquire regarding this!Thank You!!!
Using Spy++, find out if its the parent, grandparent, or greatgrandparent ... that is getting the Enter key press message.Once you know that, write a class that uses IToolControl.hwnd to find the ancestor and subclass it to capture the message before it has a chance to block it.http://support.microsoft.com/kb/815775
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.