Filter window messages

Miscellaneous Forums/Win32 Discussion/Filter window messages

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think I have found the source of all of my problems!

In my program's window event getting thing, I have this command:
apiGetMessage(WinProcReturn,0,0,0)
After reading over documentation, I can tell that those last two zeros are the minimum and maximum values for the event I want to get. Unfortunately, I can't figure out how exactly these are used, so maybe you know: How can I call apiGetMessage to filter out mouse events and keyboard events?
How can I still get regular window events, and at the same time be getting mouse events and keyboard events?