refactoring window message.

update test case.
add cointinue message event.