How to hide cursor in CEikEdwin when control goes out of focus? CEikEdwin displays cursor even when it is out of focus

There are suggestions in this forum to use SetCursorVisibilityL but it is private and can not be used. Similarly CEikEdwin::TextView() also does not work?

Thanks