Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Cursor movement

bogdanul2003bogdanul2003 Posts: 153Member
How can I move the cursor on the screen from an application(not only on my application's form but on the entery screen).Is ther a Windows API that dose this ?

10x

Comments

  • tsagldtsagld Posts: 621Member
    : How can I move the cursor on the screen from an application(not only on my application's form but on the entery screen).Is ther a Windows API that dose this ?
    :
    : 10x
    :
    Do you mean the cursor in a command prompt window or the caret in a textbox (like notepad)?

    Greets,
    Eric Goldstein
    www.gvh-maatwerk.nl

  • bogdanul2003bogdanul2003 Posts: 153Member
    : : How can I move the cursor on the screen from an application(not only on my application's form but on the entery screen).Is ther a Windows API that dose this ?
    : :
    : : 10x
    : :
    : Do you mean the cursor in a command prompt window or the caret in a textbox (like notepad)?
    :
    : Greets,
    : Eric Goldstein
    : www.gvh-maatwerk.nl
    :
    :

    I mean the cursor of the mouse in Windows OS ... I want to move the cursor to the top left corner of the screen when someone presses a button on my application.How can I do that?Is there a Windows Api ?

  • AsmGuru62AsmGuru62 Posts: 6,519Member
    : : : How can I move the cursor on the screen from an application(not only on my application's form but on the entery screen).Is ther a Windows API that dose this ?
    : : :
    : : : 10x
    : : :
    : : Do you mean the cursor in a command prompt window or the caret in a textbox (like notepad)?
    : :
    : : Greets,
    : : Eric Goldstein
    : : www.gvh-maatwerk.nl
    : :
    : :
    :
    : I mean the cursor of the mouse in Windows OS ... I want to move the cursor to the top left corner of the screen when someone presses a button on my application.How can I do that?Is there a Windows Api ?
    :
    :
    [blue]Surprisingly, that API is SetCursorPos(). Check MSDN for this one.[/blue]
Sign In or Register to comment.