It is possible to check whenever the X/Y position of the window changed? Also, if it's possible to check if the Window Width/Height changed too.
You're looking for the WM_MOVE and WM_SIZE messages.
WM_MOVE
WM_SIZE