Hello everyone,
I was wondering if anyone knows how to convert a variable of type single to a single or long that is equivalent in pixels?
THE PROBLEM:
This code returns a number, but it is not I need the value to be in pixels.
eg. typPOINTAPI returns 545 = 20,000 or something.
Any ideas? thank you
I was wondering if anyone knows how to convert a variable of type single to a single or long that is equivalent in pixels?
THE PROBLEM:
Code:
Declare Sub GetCursorPos Lib "user32" (lpPoint As typPOINTAPI)
Type typPOINTAPI
X As Single
Y As Single
End Type
eg. typPOINTAPI returns 545 = 20,000 or something.
Any ideas? thank you