CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    32

    Please help, how do i disable the "Ctrl" key in a VB form

    how do i disable the "Ctrl" key in a VB form

  2. #2
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279
    please be more specific..
    do you want to capture only the ctrl?
    or remove the ctrl from combinations?(ctrl + a)

    let me know,

    Jewe
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    You said in a vb form

    Inside your form only, have a look at keypreview of form (=set it true) and keyUp event.
    If you want something of amazing, look at attached.
    (tested on win2k professional and server)
    Attached Files Attached Files
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured