Graphisoft®

Dialog ManagerVersion: 2.0

RichEditDragSourceObserver::RichEditDragStarting

Event handler for the drag starting notification.

virtual void RichEditDragStarting (
    const RichEditDragSourceEvent & ev,
    bool *              canStart
);

Parameters

ev
A reference to the event.
canStart
true by default. If false, the drag and drop starting is disabled in rich edit controls.

Description

If this event rise it is time to decide to let the drag and drop start from this control or not.

Example

// Method Example:
void	DragTab1Observer::RichEditDragStarting (const DG::RichEditDragSourceEvent& /*ev*/, bool* canStart)
{
	*canStart = false;
}

Drag starting event handler in rich edit controls.