Search code examples
c++winapiwindowheightwidth

Win32 C++ - Check if the Window PositionX/PositionY and Width/Height changed


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.


Solution

  • You're looking for the WM_MOVE and WM_SIZE messages.