Public Delegate Sub DeActivateEventHandler() Public Class Form1 Private Const ECM_FIRST As Long = &H1500 Private Const EM_SHOWBALLOONTIP As Long = (ECM_FIRST + 3) Public Event DeActivate As DeActivateEventHandler Protected Overrides Sub WndProc(ByRef m As Message) If m.Msg = EM_SHOWBALLOONTIP Then MsgBox("Jump") RaiseEvent DeActivate() Else MyBase.WndProc(m) End If End Sub End Class
If e.KeyData = Keys.CapsLock Then e.SuppressKeyPress = True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)