Results 1 to 4 of 4

Thread: menu in columnheader

  1. #1

    Thread Starter
    Lively Member Scorpionz's Avatar
    Join Date
    Feb 1999
    Location
    lafayette/kaplan, louisiana, usa
    Posts
    72
    how can i make a menu popup when a columnheader is clicked in a listview?

  2. #2
    Lively Member
    Join Date
    Apr 2001
    Posts
    111
    Code:
    Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)
      Select Case ColumnHeader.Index
        Case 1
          PopupMenu mnuMyMenu
      End Select
    End Sub
    I dunno how to make it popup if you right-clicked it though.

  3. #3

    Thread Starter
    Lively Member Scorpionz's Avatar
    Join Date
    Feb 1999
    Location
    lafayette/kaplan, louisiana, usa
    Posts
    72
    tnx.. i'll piddle with it for a bit and post back..

  4. #4
    Addicted Member
    Join Date
    Feb 2006
    Posts
    133

    Re: menu in columnheader

    I have the same problem. How to detect right-click of the mouse over columnheader?

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