|
|
VB声明 |
Declare Function GetUpdateRgn Lib "user32" Alias
"GetUpdateRgn" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal fErase As Long) As
Long |
说明 |
确定指定窗口的刷新区域。该区域当前无效,需要刷新 |
返回值 |
Long,下列常数之一,以描述当前剪裁区:
COMPLEXREGION:该区域有互相交叠的边界
SIMPLEREGION:该区域边界没有互相交叠
NULLREGION:区域为空
ERRORAPI:发生了错误 |
参数表 |
参数 |
类型及说明 |
hwnd |
Long,将确定刷新区域的窗口的句柄 |
hRgn |
Long,装载hwnd窗口刷新区域的区域句柄 |
fErase |
Long,为非零值表示窗口背景应擦除,客户区外的窗口部分是被重画
原文:TRUE (nonzero) to specify that the window background should be erased and parts
of the window outside of the client area should be redrawn. |
|