In the MouseDown event of a Form or Control, type the following code:
If Button = vbRightButton Then Me.PopupMenu mnuMsg End If
What this snippet of code will do is look at whether the user clicked his or her right mouse button.