Results 1 to 4 of 4

Thread: VB6 Contextmenu help

  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.

  2. #2
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: VB6 Contextmenu help

    Is this the same subject as your other thread SET HTML and Iframe problem

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Posts
    91

    Re: VB6 Contextmenu help

    This was a different code, the other subject I have is an issue with a contextmenu with iframes within a webbrowser control. This above code doesn't do what I needed and this thread is no longer needed. The above code would only work on the FOrm and not the webbrowser control and thus had to revert to the set html code in other thread.

  4. #4
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: VB6 Contextmenu help

    Please mark this as Resolved; I am getting tired of re-clicking on it just to find out it is no longer needed.

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