hmm Matthew, where did you get that function?

I think someone's fooling you,
First of all, the Entry doesn't exists in my User32 (i don't have a user.dll)
and second, most of the time, hWnd's are Long integers, so I don't get it mate

I think this should be the Good declration then
Code:
Private Declare Function SetSysModalWindow Lib "User" _
(ByVal hWnd As Long) As Long
hmm maybe it's new in win2k or winME or something?
Anyone ever heard of this call? I don't