|
-
Apr 2nd, 2003, 08:54 AM
#1
Thread Starter
Fanatic Member
RESOLVED-Convert Long to Single for the GetCursorPos function
Hello
i am using the getcursorpos function to get the correct position
of the mouse.
the problem is it does not seem to show correct position.
the getcursorpos returns a POINTAPI type which has a X as long and Y as long.
I want the X,Y to get converted to Single.
i tried form1.scalex(point.x,vblong,vbsingle)
but it did not work.
instead i used xsingle=15*xlong and it seems to quite work but not 100%.
also how to i convert from twips to single ??
thanks !!
Last edited by alexandros; Apr 2nd, 2003 at 09:54 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|