There said we can get
negative numbers, I said above convert to DWORD or WORD its
unsigned types.
You tested at 2 monitors (1st half of window at first monitor, 2nd half at second monitor) ?
75% of all questions unfortunately I fixing alone.
What prevent to simply write like this ? >
int Num = (int)lparam;
Int16 x = (Int16)(Num << 16 >> 16);
Int16 y = (Int16)(Num >> 16);