this really weird thing is happening when i try to find my mouse position of my window.
If i put it to the top left of the window it is fine but as it goes further down and across it goes weird. It is really hard to explain, but is this right how you find the mouse position relative to my window?
case WM_LBUTTONDOWN:
{
float mx = 0;//mousex
float my = 0;//mousey
mx = LOWORD(lParam);
my = HIWORD(lParam);
return (0);
}