Search:

Type: Posts; User: Bag a Bones

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    29,935

    Create a delay without using Sleep

    Its almost exam time :( and my teacher would like us to learn how to create a delay in our programs without using the Sleep function in the windows.h library. He said that we might do somthing like...
  2. Replies
    7
    Views
    1,811

    Ok, sorry I was whining, Im just a little...

    Ok, sorry I was whining, Im just a little stressed and tired because there are a lot of projects due lately and exams are starting...

    BTW thanks what3v3r

    Bubba, I actualy had a program that...
  3. Replies
    7
    Views
    1,811

    Why does everyone love google so much? Google...

    Why does everyone love google so much? Google never helps me that much when im looking for stuff like this. The most it ever helped me was to find this site. I did just look there, but I guess ill...
  4. Replies
    7
    Views
    1,811

    Function to find resolution

    Im working on a program called mouse odometer, which will find how much you move your mouse (like in meters or kilometers or whatever) and its going to find how many pixels your mouse moves and then...
  5. Thread: Wtf?!

    by Bag a Bones
    Replies
    13
    Views
    1,257

    Try reinstalling it. My Visual Studios was messed...

    Try reinstalling it. My Visual Studios was messed up on the first installation so i just reinstalled it and it worked perfectly. You could have just not used propper syntax though... lol
  6. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    Im already using GetAsyncKeyState. How do I know...

    Im already using GetAsyncKeyState. How do I know when the numpad keys?

    At this point im going to put up my code, so everyone can see what im doing. You don't have to take it and edit it and spit...
  7. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    Ok, now LuckY's program works, but it returns the...

    Ok, now LuckY's program works, but it returns the same values as the number keys (the ones above the letters). I need to know how to tell when and what numpad keys are pressed. Im kind of in a rush,...
  8. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    LuckY, thanks, your diagnosis is quite correct. I...

    LuckY, thanks, your diagnosis is quite correct. I thought that every key had an ASCII value. Thanks for setting me straight.

    twomers, kbhit checks the keyboard buffer to see if a key has recently...
  9. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    Ok, iv decided to change it from the arrow keys...

    Ok, iv decided to change it from the arrow keys to the numpad, just like the Windows Version of MouseKeys. I can't seem to find the ascii values for the numpad though. Does anyone know what they are?
  10. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    I was just using 10 pixels as an example. Thanks...

    I was just using 10 pixels as an example. Thanks for the help.
  11. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    So if i wanted to move the cursor 10 pixels up it...

    So if i wanted to move the cursor 10 pixels up it would be:



    int x,y;

    POINT XY;
    GetCursorPos( &XY );
    y = Y + 10;
    SetCursorPos(x,y);
  12. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    Thanks very much! I now have the keyboard part...

    Thanks very much! I now have the keyboard part done. Now I need a function to find out where the mousecursor currently is. I think its GetCursorPosition, but I dont know how to use it properly. If...
  13. Thread: Ascii

    by Bag a Bones
    Replies
    20
    Views
    2,566

    Ascii

    Im working on a final project for grade 11 and I need to know how to use ASCII. I've looked for tutorials and other information, but its too complicated for me. Basicaly what I need to do is have an...
  14. Thread: Mousekeys

    by Bag a Bones
    Replies
    3
    Views
    1,205

    Wow. That was way simpler than I thought it would...

    Wow. That was way simpler than I thought it would be! Thanks very much! Now I need to do the whole joystick part...WooHoo... :( Any resources you might suggest for that?

    BTW: how do you make it...
  15. Thread: Mousekeys

    by Bag a Bones
    Replies
    3
    Views
    1,205

    Mousekeys

    Im doing a term project in grade 11 computer and information science. My project has a joystick that will controll the mouse. Unfortunatly, im fairly new to C++, and I don't how to move the mouse......
Results 1 to 15 of 15