/* 角の丸い矩形リージョンを作成する */ HRGN CreateRoundRectRgn( int nLeftRect, // 左上x座標 int nTopRect, // 左上y座標 int nRightRect, // 右下x座標 int nBottomRect, // 右下y座標 int nWidthEllipse, // 楕円の高さ int nHeightEllipse // 楕円の幅 ); /* 説明 */ 角の丸い矩形のリージョンを作成しそのハンドルを返す。