Re: [ADVANCED-DOTNET] PeekMessage

2006-02-19 Thread Mattias Sj�gren
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

[ADVANCED-DOTNET] PeekMessage

2006-02-19 Thread Jon Rothlander
Is anyone familiar with PeekMessage? I am trying to get a sample app to run and I cannot. The sample app did not provide the code for the PeekMessage API. Below are two samples. The first is a sample that seems pretty simple, but they did not provide a declaration for PeekMessage. The 2nd sampl