/* 矩形リージョンを作成する */ HRGN CreateRectRgn( int nLeftRect, // 左上x座標 int nTopRect, // 左上y座標 int nRightRect, // 右下x座標 int nBottomRect // 右下y座標 ); /* 説明 */ 矩形のリージョンを作成しそのハンドルを返す。