I am using gaze detection hardware and i am having some numeric issues. First off the co-ordinates work from (0,0) [top left of the screen] to (1,1) [bottom right of the screen]. When i gaze to the top left of the screen the system picks up (0.35,0.30) when I gaze to the bottom right the system picks up (0.65, 0.80) The reason it is picking up these values instead of (0,0) and (1,1) is because the screen resolution is 1600x900 but my application only occupies a portion of the screen at (817x500). My question is, how can i convert actual numbers like (0.35,0.30) to a location on the screen such as (400,200) given that my application windows is (817x500)??
I am using VB6.