函数参考


_WinAPI_DrawFocusRect

Draws a rectangle in the style used to indicate that the rectangle has the focus.

#Include <WinAPIEx.au3>
_WinAPI_DrawFocusRect ( $hDC, $tRECT )

参数

$hDC A handle to the device context.
$tRECT $tagRECT structure that specifies the logical coordinates of the rectangle that is to be drawn.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

The _WinAPI_DrawFocusRect() is an XOR function, so calling it a second time with the same rectangle
removes the rectangle from the screen.

相关

详情参考

在MSDN中搜索