Location:
COECNTRL.H
Link against: cone.lib
class MCoeControlHitTest;
Abstract interface for defining a control's hit region.
This could be implemented by a CCoeControl-derived class to define hit region checking. The object is installed by calling
CCoeControl::SetHitTest()
.
The hit region is the area inside the control's rectangle in which pointer events are handled. It can be any shape, not necessarily rectangular.
Defined in MCoeControlHitTest
:
HitRegionContains()
, MCoeControlHitTest()
, MCoeControlHitTest_Reserved1()
, MCoeControlHitTest_Reserved2()
virtual TBool HitRegionContains(const TPoint &aPoint, const CCoeControl &aControl) const=0;
Tests whether a pointer event occurred inside the control's hit region. This function is called by CCoeControl::HandlePointerEventL()
.
|
|
private: virtual IMPORT_C void MCoeControlHitTest_Reserved2();