Jon, The PeekMessaage declaration is correct, but I would remove the Alias "PeekMessageA" clause and instead add the Auto modifier keyword.
All your other declarations are incorrect, they look like they are written for VB6 rather than VB.NET. I suggest you try to find correct ones at www.pinvoke.net for example. Mattias =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
