CListCtrl::InsertMarkHitTest

检索插入点最接近指定的点。

int InsertMarkHitTest(
   LPPOINT pPoint,
   LPLVINSERTMARK lvim 
) const;

参数

  • pPoint
    对包含命中的 POINT 结构的指针测试坐标,相对于列表控件的工作区的。

  • lvim
    到指定的 LVINSERTMARK 结构的指针插入点最接近点参数定义的坐标。

返回值

插入点最接近指定的点。

备注

此成员函数模拟 LVM_INSERTMARKHITTEST 邮件的功能,如 Windows SDK所述。

要求

Header: afxcmn.h

请参见

参考

CListCtrl选件类

层次结构图

CListCtrl::GetInsertMark

CListCtrl::SetInsertMark