Thread: Cursor locator

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

    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,472
    smashin! ta

Popular pages Recent additions subscribe to a feed