ListBoxDragSourceObserver::ListBoxDragStarted
virtual void ListBoxDragStarted (
const ListBoxDragSourceEvent & ev,
UShort * effect
);
Parameters
- ev
A reference to the event. - effect
Drag and drop effect can take the following values: DragDrop::Reject, DragDrop::Accept, DragDrop::Copy, DragDrop::Move, DragDrop::Link, DragDrop::Delete.
Description
Example
// Method Example:
void DragTab2Observer::ListBoxDragStarted (const DG::ListBoxDragSourceEvent& ev, UShort* /*effect*/)
{
if (modelessMode) {
DG::DragSourceEventProperty* evProp = ev.GetDragData ();
evProp->ModifyBaseFormat ('LBDR', DG::DragDrop::Module);
}
}Drag started event handling in a list box control.