Keypress


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Keypress

  1. #1
    Kobus Guest

    Keypress


    I want to now if there is a away to see if I running a vb app and
    and it now that a key is pressed (EVEN if i am at that stage in another app)

  2. #2
    Ian Drake Guest

    Re: Keypress


    Short answer --- yes you can. You need to hook into the windows event system
    through the API.

    I don't do this much so I don't know the code off the top of my head, but
    I know it's in Dan Applemans(SP?) book on the WIN32 API. A must have, I
    don't know anyone who thought it wasn't worth the fifty bucks.

    Ian Drake



    "Kobus" <smitk@scmb.co.za> wrote:
    >
    >I want to now if there is a away to see if I running a vb app and
    >and it now that a key is pressed (EVEN if i am at that stage in another

    app)


  3. #3
    Ian Drake Guest

    Re: Keypress


    Short answer --- yes you can. You need to hook into the windows event system
    through the API.

    I don't do this much so I don't know the code off the top of my head, but
    I know it's in Dan Applemans(SP?) book on the WIN32 API. A must have, I
    don't know anyone who thought it wasn't worth the fifty bucks.

    Ian Drake



    "Kobus" <smitk@scmb.co.za> wrote:
    >
    >I want to now if there is a away to see if I running a vb app and
    >and it now that a key is pressed (EVEN if i am at that stage in another

    app)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center