LAnnContainer::SelectPoint

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SelectPoint(pPoint)

LPPOINT pPoint;

/* pointer to the Windows POINT structure */

Selects the annotation object at the specified point, relative to the window. If objects overlap, this function selects the front object. This function is available in the Document/Medical Toolkits.

Parameter

Description

pPoint

Pointer to the Windows POINT structure. Coordinates are relative to the associated window's client area.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Selecting an object sets its selected property to TRUE.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LAnnContainer::SelectRect, LAnnotation::IsSelected, Class Members

Topics:

Annotation Functions: Using Window Coordinates to Select Objects

 

Annotation Functions: Object Information

 

Displaying and Manipulating Annotation Objects

Example

L_VOID Test(LAnnContainer L_FAR* pAnnContainer)
{
POINT pt={10,20};
pAnnContainer->SelectPoint(&pt);
}