CRect::MoveToY
Call this function to move the rectangle to the absolute y-coordinate specified by y.
void MoveToY(
int y
) throw( );
Параметры
- y
The absolute y-coordinate for the upper-left corner of the rectangle.
Пример
CRect rect(0, 0, 100, 100);
rect.MoveToY(10);
// rect is now (0, 10, 100, 110);
ASSERT(rect == CRect(0, 10, 100, 110));
Требования
Header: atltypes.h