Handling windows messages and raising events

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

Is there a way to handle windows messages in access, specifically I am
looking for access equivalent of following vb.net code;

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Select Case m.Msg
Case &H400
' Do something here
Case Else
MyBase.WndProc(m)
End Select
End Sub

Also is there a way to raise events in access like this VB.code does;
RaiseEvent MyEvent(StrVar)?

Thanks

Regards
 
Back
Top