CRect( int l, int t, int r, int b );
l
Specifies the left position of CRect.t
Specifies the top of CRect.r
Specifies the right position of CRect.b
Specifies the bottom of CRect.
上面是msdn中的今天我看了一个今天我看到一个CRect(237,171,217,191)和CRect(-100,-100,-80,-80) ,基于对话框的程序,在主框作图,问题如下:
1:CRect的参数可以为负数吗?
2:l参数不是应该比r参数小吗?
3:CRect的参数用什么坐标系?
l
Specifies the left position of CRect.t
Specifies the top of CRect.r
Specifies the right position of CRect.b
Specifies the bottom of CRect.
上面是msdn中的今天我看了一个今天我看到一个CRect(237,171,217,191)和CRect(-100,-100,-80,-80) ,基于对话框的程序,在主框作图,问题如下:
1:CRect的参数可以为负数吗?
2:l参数不是应该比r参数小吗?
3:CRect的参数用什么坐标系?
2:l参数不是应该比r参数小吗?可以大
3:CRect的参数用什么坐标系?默认的坐标系为左上角为0,0
l参数比r参数大会怎么样?
CRect的参数为负数会怎么样?
CRect的参数为负数会怎么样?如果为负数,表示超出某个上下文的区域了