   How to get the position fo the mouse in the window(use API)
  I want to get the position of the mouse in the window,but I don't which funtion to use.thank you for your help!   
  Look at GetCursorPos   ;  thank you !   ;  Keep in mind that a few messages will have the x and y parameters of the mouse stored in the lParam variable: WM_MOUSEHOVER, for example( but you need to call TrackMouseEvent()).   ;  if your gonna use input in your game its better to use DirectInput its a lot faster and easier   