Handling windows messages and raising events

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top