Code:
Declare Function GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" () As Long

'maybe this (not sure though)
UpdateWindow GetDesktopWindow