Graphisoft®

Dialog ManagerVersion: 2.0

ListBoxDropTargetEvent::GetRelativePosition

Retrieves the relative insertion position (on or under).

DG::DragDrop::RelativePos GetRelativePosition (void) const;

Return Value

The relative position of the insertion: DragDrop::InsertOn, DragDrop::InsertUnder. Use GetInsertPosition to get the insertion position.

Description

First use the GetInsertionPosition to find out the item from which you can get a relative position. This member function can be used to get a more precise position in the target list box control.