Hi All
Where does x and y value i.e window coordinate is stored?
Thanks in advance.
Hi All
Where does x and y value i.e window coordinate is stored?
Thanks in advance.
It is stored in LPARAM of the WndProc CALLBACK function for your window.
Suppose your LPARAM is lParam then
x = LOWORD(lParam) & y = HIWORD(lParam)