Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) ' let the base class process the message MyBase.WndProc(m) ' if this is a WM_HOTKEY message, notify the parent object Const WM_HOTKEY As Integer = &H312 If (m.Msg = WM_HOTKEY) Then counter += 1 lblCounter.Text = counter End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)