Actually, I figured I would Post this here. This function will Lock as many Windows as you want from Redrawing...unlike the "LockWindowUpdate" Function.
'API Declarations (.NET)
Private Declare Ansi Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
'Routine to Lock a Window from Repainting
Public Sub LockWindowUpdate(ByVal Handle As IntPtr, ByVal Lock As Boolean)
Const WM_SETREDRAW As Integer = &HB
'Enable / Disable Drawing
Call SendMessage(Handle, WM\_SETREDRAW, Math.Abs(CInt(Lock)), 0)
End Sub
'API Declarations (VB6)
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
'Routine to Lock a Window from Repainting
Public Sub LockWindowUpdate(ByVal Handle As Long, ByVal Lock As Boolean)
Const WM_SETREDRAW As Long = &HB
'Enable / Disable Drawing
Call SendMessage(Handle, WM\_SETREDRAW, Abs(CInt(Lock)), 0)
End Sub