Please can anyone help. I have a window(1280x768) that contains a resolution(1920x1080). I am trying to use ScreenToClient to obtain the mouse coordinates while in windowed format. I am drawing a line from a subject to the mouse cursor which works fine in fullscreen but not in windowed.
The ScreenToClient function doesn't quite work because (I speculate) of the resolution. Does anyone know of a way to correct this...?
Thank in advance