PDA

Click to See Complete Forum and Search --> : SetCursorPos


markwel
Feb 24th, 2001, 04:00 AM
Friends,

I like to know the statistics of Window pixels.

Width Pixels, Height Pixels.

I like to set my mouse cursor at a Particular Position. I think SetCursorPos will use for this. How?

Thanx in advance.

Vlatko
Feb 24th, 2001, 05:53 AM
Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long

SetCursorPos xpos, ypos

markwel
Feb 24th, 2001, 06:05 AM
Thank you. But Pixels?

How can I understand which is X,Y?

Feb 24th, 2001, 10:22 AM
The 1st argument is X, and the 2nd argument is Y.

Lord Orwell
Feb 24th, 2001, 10:33 AM
This is off subject, but MEGATRON, how many posts did you have before you got your custom description (decepticon)?

Feb 24th, 2001, 10:46 AM
It supposed to be at 4096, but I didn't get around to changing it until now.