Results 1 to 3 of 3

Thread: Adding Shortcut Keys to a code created Context menu *[RESOLVED]*

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Thumbs up Adding Shortcut Keys to a code created Context menu *[RESOLVED]*

    How? I have the following:
    VB Code:
    1. Dim rtbContextMenu As New ContextMenu()
    2. Dim mymenuitem As MenuItem
    3. mymenuitem = rtbContextMenu.MenuItems.Add("Copy")
    4. AddHandler mymenuitem.Click, AddressOf myCopy_Click
    but I want to add a "CTRL + C" shortcut after it, and be able to actually cut the text using CTRL + C. Any help would be greatly appreciated
    Last edited by RealNickyDude; Jan 30th, 2003 at 06:26 PM.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

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