Topic: Visual C++ Drag&Drop
Author: steph@seldon.apanix.apana.org.au (Stephen Lechowicz)
Date: 18 Jul 1994 05:55:29 GMT Raw View
Hi
I'm having a problem implementing some simple drag & drop functionality
in a program I'm writing.
I have a class derived from CButton with a COleDataSource member
variable. On LButtonDown the program calls DoDragDrop from the
COleDataSource variable. One of the parameters of this DoDragDrop
function is an LPCRECT which is supposed to define when the actual
Drag operation starts (ie it begins only after the mouse has left
the rectangle). The problem is that no matter what I put in for the
rectangle parameter the Drag begins as soon as the mouse button
is down.
I would really appreciate any help I can get on this. Thanks in advance.
Stephen
Author: gjohnson@netcom.com (Serendipitous Freelance Hacker)
Date: Mon, 18 Jul 1994 20:36:22 GMT Raw View
+---- steph@seldon.apanix.apana.org.au wrote:
| I'm having a problem implementing some simple drag & drop functionality
| in a program I'm writing.
|
| I have a class derived from CButton with a COleDataSource member
| variable. On LButtonDown the program calls DoDragDrop from the
| COleDataSource variable. One of the parameters of this DoDragDrop
| function is an LPCRECT which is supposed to define when the actual
| Drag operation starts (ie it begins only after the mouse has left
| the rectangle). The problem is that no matter what I put in for the
| rectangle parameter the Drag begins as soon as the mouse button
| is down.
+----
Try comp.os.ms-windows.programmer.misc
--
Gary Johnson (Freelance Hacker) gjohnson@netcom.com
"Is anything in base 1 infinity?"