posting message to wrong window