Original Post
Hi, im trying to incorporate mouse with my game through DirectInput. well, i know how to initialize & poll the device, but how do i get the current cursor x,y position relatively to the screen position. for instance, the screen resolution is 800 x 600, then when the mouse cursor is at upper left corner it should read 0,0 while it should read 800,600 when it is at bottom right corner. Could someone pls tell me how to use the mouse cursor to retrieve the screen position. Thanks in advance.