FrameRgn |
VB声明 |
|
Declare Function FrameRgn Lib "gdi32" Alias "FrameRgn" (ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long |
|
说明 |
|
用指定刷子围绕指定区域画一个外框 |
|
返回值 |
|
Long,执行成功返回非零值,失败为0 |
|
参数表 |
|
参数 |
类型及说明 |
hdc |
Long,设备场景句柄 |
hRgn |
Long,将数据设备坐标填充的区域句柄 |
hBrush |
Long,将用的刷子句柄 |
nWidth |
Long,垂直边框宽度(以设备单元为单位) |
nHeight |
Long,水平边框高度(以设备单元为单位) |
Top |