Mouse trouble

Alexandre Julliard julliard at winehq.com
Mon Jul 16 12:32:25 CDT 2001


Ove Kaaven <ovehk at 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.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list