[聲明]Declare Function EqualRect Lib "user32" Alias "EqualRect" (lpRect1 As RECT, lpRect2 As RECT) As Long[說明]判斷兩個矩形結構是否相同 [參數表]lpRect1 -------- RECT,要比較的矩形lpRect2 -------- RECT,要比較的矩形[返回值]Long,非零表示成功,零表示失敗。會設定GetLastError