CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

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

  1. #1
    Join Date
    Dec 2003

    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
    please be more specific..
    do you want to capture only the ctrl?
    or remove the ctrl from combinations?(ctrl + a)

    let me know,

    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
    Milano, Italy

    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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)