PRB: Right Mouse with Manual OLE D&D Disables Left Mouse (187743)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q187743 SYMPTOMS
When OLE Drag and Drop is started in manual mode by trapping for the right
mouse button (right-click) on the drag source object, the left mouse button
seems to be disabled until the right mouse button is clicked again.
CAUSE
This is caused by setting the nEffect parameter in the OLEStartDrag()
event.
RESOLUTION
Here are two workarounds for this behavior:
- Place the NODEFAULT keyword in the method that calls the OLEDrag()
method of the drag source. Normally, this is either the MouseDown
or the MouseMove event.
-or-
- Do not set the nEffect parameter in the OLEStartDrag() event.
STATUS
This behavior is by design.
REFERENCES
For additional information on OLE Drag and Drop in manual mode and the
nEffects parameter, please see the following articles in the Microsoft
Knowledge Base:
185654 HOWTO: Starting OLE Drag and Drop In Manual Mode
184386 HOWTO: Using OLE Drag & Drop to Move Controls on a Form
186919 HOWTO: Manual Mode OLE Drag & Drop & Mouse Pointer Changes
Modification Type: | Major | Last Reviewed: | 8/26/1999 |
---|
Keywords: | kbprb KB187743 |
---|
|