Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This enumeration contains values used in IViewObjectEx::QueryHitPointand IViewObjectEx::QueryHitRect.
Syntax
typedef enum tagHITRESULT { HITRESULT_OUTSIDE = 0, HITRESULT_TRANSPARENT = 1, HITRESULT_CLOSE = 2, HITRESULT_HIT = 3 } HITRESULT; |
Elements
- HITRESULT_OUTSIDE
-
The specified location is outside the object and not close to the object.
- HITRESULT_TRANSPARENT
-
The specified location is within the bounds of the object, but not close to the image. For example, a point in the middle of a transparent circle could be HITRESULT_TRANSPARENT.
- HITRESULT_CLOSE
-
The specified location is inside the object or is outside the object but is close enough to the object to be considered inside.
Small, thin, or detailed objects can use this value.
Even if a point is outside the bounding rectangle of an object it can still be close.
This value is needed for hitting small objects.
- HITRESULT_HIT
-
The specified location is within the image of the object.
Requirements
Header | ocidl.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |