I am pretty new to Windows programming, but not to C++ in general. I am trying to figure out how, in my program, I would be able to tell when a window is moved; as in the user just clicking the title bar and dragging the window around. Is SetWindowPos called by the OS? I am trying to learn how to tell when this occurs and then get the window's new coordinates. I am trying to use this to then recalculate coordinates local to the application/program window. I have a 2D graphic element within the window that has it's own coordinates that I will be using, but I need to be able to tell if the window has moved to recalculate these coordinates in relation to the screen's pixel coordinates. Thank you for any help you might be able to give me.