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,水平框線高度(以設備單元為單位)