There isnt one built in, but it is easy to use the Windows one, all it takes is a simple API call. Unfortunately only one window can be locked at a time, but you wont get errors if it fails (you just wont get the locking effect).
VB Code:
'Add this to the declarations section of a form/module: Declare Function LockWindowUpdate Lib "user32" Alias "LockWindowUpdate" (ByVal hwndLock As Long) As Long 'Usage: 'Lock LockWindowUpdate Me.hWnd 'Unlock LockWindowUpdate False




Reply With Quote