See MComponent::downCast() for a detailed explanation and example.
static const MEvent * downCast(const MEvent* pMEvent);