Figure 1. The Subclassing Mechanism Gone Awry If the controls that subclass the form don't shut down their subclassing correctly, the application will crash. Because Form1 creates control A first, that control retains the original window procedure. As each control terminates, it replaces the current window procedure with the one it got from Windows. So, unless control A terminates last, the real window procedure won't be restored.