检索具有指定的点在其功能区元素的从零开始的索引。
virtual int HitTestEx(
CPoint point
) const;
参数
- [in] point
指针的x和Y坐标,相对于窗口左上角的。
返回值
具有指定的点功能区元素的从零开始的索引在其;否则为-1。
备注
在一个仅包含功能区组件测试。
要求
标头: afxribbonpanel.h
检索具有指定的点在其功能区元素的从零开始的索引。
virtual int HitTestEx(
CPoint point
) const;
具有指定的点功能区元素的从零开始的索引在其;否则为-1。
在一个仅包含功能区组件测试。
标头: afxribbonpanel.h