Re: MFC: Drag & Drop ohne die Maus zu verwenden?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Martin Richter [MVP] (martin.richter_at_mvps.org)
Date: 03/22/05


Date: Tue, 22 Mar 2005 10:53:52 +0100

Hallo Marc!

> ein kleiner Nachtrag aus der MSDN zu ::SetCapture:
>
> If the mouse cursor is over a window created by another thread, the
> system will direct mouse input to the specified window only if a mouse
> button is down.

Versuchs doch trotzdem mal!
IMHO sollten SetCursorPos und SetCursor Ihren Dienst tun. Der andere
Prozess bekommt IMHO keine Nachricht das der Cursor über seinem Fenster
ist, solange eben kein Mousevent durch bewegen erzeugt wird.

-- 
Martin Richter [MVP] WWJD
"In C we had to code our own bugs. In C++ we can inherit them."
FAQ : http://www.mpdvc.de
Samples: http://www.codeguru.com http://www.codeproject.com

Quantcast