Not destroying the window in VC++

Printable View