add WindowProcedure

mod Window.cpp