IGH_FileDropTarget

References
public interface IGH_FileDropTarget
Implement this interface in your IGH_DocumentObject if you want to participate in Drag+Drop events.

Methods

AcceptableFile

#
Gets a value indicating whether or not the path can be handled by the local object.
bool AcceptableFile(
path
Path to file in question.
)
True if the file can be handled, false if otherwise.

HandleDrop

#
Handle a file drop.
bool HandleDrop(
path,
Path of file to handle.
PointF
mouse_pt
Point at which the drop occured.
)
True on success, false on failure.