I found something interesting.
Generally in most programs.
When I rightclick my mouse a popup menu pops up.
and somewhere outside the popup menu a popmenu appears.
but this code have some problems.
If I run this code,
I have to LEFTCLICK outside the popupmenu.
What should I do if I want to popup a menu by just RIGHTCLICKing somewhere.
My code is as follows.
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
PopupMenu mnuFile, vbPopupMenuLeftAlign
Is this obscure?
I hope not.