title: Intercept the closing message of a window opened with ShellExecuteEx
body: <p>I have an annoying program that don't save his position when closed.
  I've made a small console program that open it and move the window to another position, now i want to save the position when the program close, how i can intercept the closing message so i can save the position before the window destroy itself ?</p>