GetUpdateRgn |
VB聲明 |
|
Declare Function GetUpdateRgn Lib "user32" Alias "GetUpdateRgn" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal fErase As Long) As Long |
|
說明 |
|
確定指定窗口的刷新區(qū)域。該區(qū)域當(dāng)前無效,需要刷新 |
|
返回值 |
|
Long,下列常數(shù)之一,以描述當(dāng)前剪裁區(qū): COMPLEXREGION:該區(qū)域有互相交疊的邊界 SIMPLEREGION:該區(qū)域邊界沒有互相交疊 NULLREGION:區(qū)域為空 ERRORAPI:發(fā)生了錯誤 |
|
參數(shù)表 |
|
參數(shù) |
類型及說明 |
hwnd |
Long,將確定刷新區(qū)域的窗口的句柄 |
hRgn |
Long,裝載hwnd窗口刷新區(qū)域的區(qū)域句柄 |
fErase |
Long,為非零值表示窗口背景應(yīng)擦除,客戶區(qū)外的窗口部分是被重畫 原文:TRUE (nonzero) to specify that the window background should be erased and parts of the window outside of the client area should be redrawn. |
Top |