Rectangle |
VB声明 |
|
Declare Function Rectangle Lib "gdi32" Alias "Rectangle" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long |
|
说明 |
|
用当前选定的画笔描绘矩形,并用当前选定的刷子进行填充 |
|
返回值 |
|
Long,非零表示成功,零表示失败。会设置GetLastError |
|
参数表 |
|
参数 |
类型及说明 |
hdc |
Long,设备场景的句柄 |
X1,Y1 |
Long,指定矩形左上角位置 |
X2,Y2 |
Long,指定矩形右下角位置 |
Top |