Cursor locator

This is a discussion on Cursor locator within the C Programming forums, part of the General Programming Boards category; i'm just doing something quick for fun here in work and need to know if anyone knows a function that ...

  1. #1
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,406

    Cursor locator

    i'm just doing something quick for fun here in work and need to know if anyone knows a function that DEV-CPP has in its library to move the cursor to a screen co-ordinate? i am just writing a counter in that i want to remain stationary,

    i can't spot anything to do it, conio.h doesn't have the old gotoxy() lark.

    cheers

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You need to use the Windows API function SetCursorLocation.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,406
    smashin! ta

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21