To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to use the SetCursorPos function to set the mouse pointer to a specified set of coordinates.
Description
This example shows how to use the SetCursorPos function to set the mouse pointer to a specified set of coordinates. It also shows how we can error handle these set of Windows API functions.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.