Protected Overrides Sub WndProc(ByRef m as Message)
end Sub
m.Hwnd
m.Message
If m.Message = 15 then
'this was a wm_paint message
end if
If m.Message = WM_ACTIVATEAPP AndAlso m.wparam = 0 then
'The user has deactivated your application
end if
Protected Overrides Sub WndProc(ByRef m As Message)
If m.Msg = WM_ACTIVATEAPP AndAlso m.WParam = 0 Then
MsgBox("Test")
End If
End Sub
Mybase.WndProc(m)