I know this one's probably easy, but I can't figure it out.
Here it goes : I wanna use a popup (context) menu on one of my textboxes. How do I override the default Windows popup menu that comes up (the one with "Copy", "Paste" and so on) ?
Plz take a look at this :
But when I right click on my textbox, first the default Windows menu pops up. I have to right click it one more time and only then my "FAddress" menu pops up.VB Code:
Private Sub Text49_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single) If Button = 2 Then Call Me.PopupMenu(FAddress) End Sub
Does NE1 have a solution for me ?
Can it only be done with API ? Or is there a simpler way out ?
TIA




Reply With Quote