Thread: Virtual Keyboard

  1. #1
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273

    Virtual Keyboard

    Hi,

    I have been useing the keybd_event() function to do things for some programs that I wrote, but when I run my program, the keyboard_event function works perfectly, my program ends - the keyboard is all messed up. if I press a key after the program it doesn't do what it should unless I press the alt button, then it works. (I think the escape key does some window hopping or something);

    Is this a standard error?? is there a way to overcome it? I tried using the virtual keyboard to 'press' alt, but it didn't work.

    Thanks
    Last edited by twomers; 01-23-2006 at 12:10 PM.

  2. #2
    Registered User
    Join Date
    Dec 2005
    Posts
    155
    Did you make sure your code unpress the keys when done? Mine did something like that when I forgot to unpress a key in my code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual Box
    By ssharish2005 in forum Tech Board
    Replies: 3
    Last Post: 02-12-2009, 05:08 AM
  2. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  3. Program with Shapes using Virtual Functions
    By goron350 in forum C++ Programming
    Replies: 12
    Last Post: 07-17-2005, 01:42 PM
  4. C++ XML Class
    By edwardtisdale in forum C++ Programming
    Replies: 0
    Last Post: 12-10-2001, 11:14 PM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM