Ove Kaaven ovehk@ping.uio.no writes:
Known bug in the current CVS. Turn dxgrab off. If it's on, mouse events are lost. I'm working on it, but have not yet thought of a way to fix it; I need to run a procedure (GrabPointer) in the context of the thread that owns the window that gets the grab. My latest idea was to queue an APC to the owner of the window, but QueueUserAPC requires a thread handle, while GetWindowThreadProcessId only returns a thread ID.
I'd strongly suggest using some kind of SendMessage instead of QueueUserAPC.