MoveIntoFrame
static BRect MoveIntoFrame(BRect rect, BSize frameSize);
window->MoveTo(BLayoutUtils::MoveIntoFrame(frame, screenSize).LeftTop());