DragMapToOLE()
Summary
Allows the user to drag and drop a map object to an OLE container application.
Syntax
DragMapToOLE(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
Notes
-
DragMapToOLE() is typically called as part of an OLE drag-and-drop tool.
Example
Tool "drag and drop" 10, 2 icons: "drgmap1.bmp", "drgmap2.bmp" do
DragMapToOLE()
endItem
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified map does not exist |
| Error | An error occurred embedding the new map object. |
See Also
| Function | Summary |
|---|---|
| CopyMapToClipboard() | Copies a map object and map picture to the Windows clipboard |
| CopyMapToOLE() | Updates an embedded OLE map |