Mouse Pointer Location - (Get/Set) API Calls (GetCursorPos/SetCursorPos), Controls?

Cosmos75

Registered User.
Local time
Today, 10:12
Joined
Apr 22, 2002
Messages
1,281
Found two API calls for getting the screen position of the mouse pointer and setting its position.
Is there a similiar API call for the x,y location for controls (Buttons, TextBoxes, ComboBoxes, and so on)?
:confused:

I would like to have the mouse pointer move to a control via VBA.

I found this tip for VB but I can't get it to work as there is no .TwipsPerPixelX or .TwipsPerPixelXY property for Screen object (is that what you call it?) in Access. At least as for as I can tell!
:(
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom