J
John
Hi
I am sending windows message from a vb.net app to an access application
using the PostMessage function which is defined as;
Private Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA"
(ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer,
ByVal lParam As Integer) As Integer
My question is, how can I capture the message in my access app? Basically I
am looking for access equivalent of following .net code;
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Select Case m.Msg
Case &H400
' My message processing code here
Case Else
MyBase.WndProc(m)
End Select
End Sub
Thanks
Regards
I am sending windows message from a vb.net app to an access application
using the PostMessage function which is defined as;
Private Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA"
(ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer,
ByVal lParam As Integer) As Integer
My question is, how can I capture the message in my access app? Basically I
am looking for access equivalent of following .net code;
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Select Case m.Msg
Case &H400
' My message processing code here
Case Else
MyBase.WndProc(m)
End Select
End Sub
Thanks
Regards