I want to show the contextMenu on MenuItem right click....AS IE favorites....
I m able to show the contextMenu when i right click on menu..But the Probs is dat when i right click..Context menu is showing & menu is hidding.......
Y so ..I want that when we right clikc on menu..Menu is not hidden..How to do dat..

Private Sub MenuAddToFavorites_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuAddToFavorites.MouseDown
        If e.Button = Windows.Forms.MouseButtons.Right Then
            ContextMenuFavorites.Show(DirectCast(sender, ToolStripMenuItem).GetCurrentParent.PointToScreen(e.Location))
        End If
    End Sub

well , I am new to vb.net. but as far as your problem is concerned... u may try to set the menu visible property to TRUE. in order to show the menu too..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.