Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When extracting BITMAP data, OpenInsight returns a handle to the bitmap. This is actually a copy of the bitmap that is being dragged so YOU are responsible for deleting it when you no longer need it. You may do this with the DeleteObject() Windows API function.

See also

DRAGSOURCE propertyDROPTARGET propertyCLEARDRAGDATA messageREMOVEDRAGDATA messageSETDRAGDATA message

Example

Code Block
* Change the "TEXT" data being dragged
dragSource = Get_Property("SYSTEM","DRAGSOURCE")
data = Send_Message(dragSource,"GETDRAGDATA","TEXT","","")
if data _eqc 'Woodrow Wilson' then
newData = "Theodore Roosevelt"
   data = Send_Message(dragSource,"SETDRAGDATA","TEXT","","",newData)
end