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 !!