Visio 2003 Developer's Survival Pack Tools and Samples
Drag and Drop Spy
Visio 2002/3 DSP home   This page

Overview

GWDragDropSpy provides a way to quickly inspect the kind of data that an application can provide to the drag-and-drop mechanism, and also to spy on the interaction when dragging data into an application.

ScreenShot: Dragging Data To GWDragDropSpy

Drop Effect: Updates live as drag is in progress, and as user presses various mouse or keyboard shift keys.

Safety: During testing we probably don't want to delete the source data when it's dropped into GWDragDropSpy. To avoid that happening accidentally, prevent GWDragDropSpy from accepting a "Move" operation, by using the Safe button.

ScreenShot: Dragging Data From GWDragDropSpy

Once you have dropped some data (eg: a Visio shape) into GWDragDropSpy, then you can drag that data out again, possibly back to Visio. This gives you a chance to see what data Visio or some other application requests.

Allow Add Formats: In some case, a target app may request data that the source app (GWDragDropSpy) hasn't advertised via EnumFormatEtc. This checkbox permits GWDragDropSpy to request this unadvertised data from the source application (this may or may not succeed).

Drag State: Updates live as drag is in progress, and as user presses various mouse or keyboard shift keys.

Release History

Date Version Number Description/Issues
2003-10-21 0.3.0.0  
     
__________    

Article Created: 2001-06-01  Last edit: Last edit: 03-10-29 Graham Wideman
Go to:
  DiagramAntics.com