in mping, the parameters of SetWindowSize is decided later than the construct.