CRect::operator =
srcRect を CRect に代入します。
void operator =(
const RECT& srcRect
) throw( );
パラメーター
- srcRect
元の四角形への参照。 RECT または CRect のどちらでもかまいません。
使用例
CRect rect(0, 0, 127, 168);
CRect rect2;
rect2 = rect;
ASSERT(rect2 == CRect(0, 0, 127, 168));
必要条件
**ヘッダー:**atltypes.h