Results 1 to 4 of 4

Thread: VB6 Contextmenu help

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Posts
    91

    Question VB6 Contextmenu help

    Hey Guys,

    Just looking for some help on how to create my own right click contextmenu for my vb6.0 application. I have a web browser control in my vb6.0 app but i want my own custom right click menu.

    Any links, urls or forum threads that you could provide would be very helpful and appreciated.

    I've tried the below code from another thread in here, it does work for the VB form, but it doesn't work for right click in the webbrowser control.

    Code:
    Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
        If Button = vbRightButton Then
            PopupMenu mnuContext
        End If
    End Sub
    Thanks,
    n3m.
    Last edited by n3mesis125; Oct 19th, 2008 at 07:05 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width