BUG: DragIcon Can Be Dragged Outside Visual FoxPro Window

Last reviewed: May 5, 1997
Article ID: Q134895
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a

SYMPTOMS

The custom mouse pointer being dragged in a FoxPro window retains its icon outside the window. The icon should be reset to the default Windows pointer outside the FoxPro Window.

CAUSE

This problem occurs when the DragIcon property is set for an object and dragging is then enabled by using the Drag method or the DragMode property. Visual FoxPro does not reset the mouse pointer when it passes outside Visual FoxPro boundaries.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

The problem can be duplicated in Visual FoxPro 3.0 and 3.0b by running Controls.app from the Visual FoxPro \Samples\Controls directory:

  1. Type the following commands in the Command window:

    SET DEFAULT TO HOME() + "SAMPLES\CONTROLS" DO controls.app

  2. Select the Understanding Visual FoxPro option.

  3. Select the See Event Firing Sequences option, and choose Run Example.

  4. Drag the Foxhead graphic. You will see that if the Visual FoxPro window is not maximized, you can drag the icon off the Visual FoxPro window, and it will retain its shape as a foxhead instead of turning into the standard Windows arrow pointer.

The problem can be duplicated in Visual FoxPro 5.0 by running Solutions.app from the Visual FoxPro \Samples\Solution directory:

  1. Type the following command in the Command window:

    DO HOME()+"SAMPLES\SOLUTION\SOLUTION.app"

  2. Select the option "View samples by filtered list."

  3. Select "Drag and Drop" from the drop down list.

  4. Select "Move Items between list boxes" and choose "Run Sample."

  5. Drag one of the list items. You will see that if the Visual FoxPro window is not maximized, you can drag the item off the Visual FoxPro window, and it will retain its shape instead of turning into the standard Windows arrow pointer.


Additional query words: cursor
Keywords : buglist3.00 buglist3.00b buglist5.00 FxprgGeneral vfpbug5.0a kbbuglist
Version : 3.0 3.0b 5.0 5.0a
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.