矩形の周囲に指定のブラシで境界線を書く
Declare Function FrameRect Lib "user32.dll" _
(ByVal hDC As Long, lprc As RECT, ByVal hbr As Long) As Long
Declare Function FrameRect Lib "user32.dll" _
(ByVal hDC As Integer, lprc As RECT, ByVal hbr As Integer) As Integer
int FrameRect(
HDC hDC,
CONST RECT *lprc,
HBRUSH hbr
);
引数
hDC
デバイスコンテキストのハンドルlpRect
矩形の座標を指定するRECT構造体hbr
ブラシのハンドル戻り値
正常終了のとき 0以外
エラーのとき 0