Message receive windows and send message code.