/// <summary> /// Not called unless pInfo.lFlags included _HTML_PAINTER.HTMLPAINTER_HITTEST. /// </summary> public void HitTestPoint(tagPOINT pt, out int pbHit, out int plPartID) { plPartID = 0; pbHit = 0; // if (_element == null) return; if (pt.x >= 0 && pt.x < _width && pt.y >= 0 && pt.y < _height) { pbHit = 1; } }
/// <summary> /// Not called unless pInfo.lFlags included _HTML_PAINTER.HTMLPAINTER_HITTEST. /// </summary> public void HitTestPoint(tagPOINT pt, out int pbHit, out int plPartID) { pbHit = 0; plPartID = 0; }