The ICnrEndEditEvent class retrieves information about a container direct edit event. Objects of this class are dispatched when text editing is complete.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~ICnrEndEditEvent()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
ICnrEndEditEvent(const IControlEvent& evt)
Although you can create objects of this class, typically ICnrEditHandler::dispatchHandlerEvent creates them from an IControlEvent object in response to a notification from the container that direct editing has ended.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these members to query and set the accessible attributes of this class.
![]() |
public:
IString currentText()
Returns the current text stored in the container.
If ICnrReallocStringEvent::reallocateString returns true, indicating that the text was reallocated, the returned text is the text entered by the user in the edit field.
If ICnrReallocStringEvent::reallocateString returns false, indicating that the text was not reallocated, the returned text is the text that was in the edit field before editing began.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
IString newText()
Returns the text the user entered in the edit field.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~ICnrEditEvent()
virtual IContainerColumn* column() const
virtual IContainerControl* container() const
ICnrEditEvent(const IControlEvent& event)
bool isDetailsData() const
bool isLeftDetails() const
bool isLeftDetailsHeading() const
bool isRightDetails() const
bool isRightDetailsHeading() const
bool isTitleWindow() const
virtual IContainerObject* object() const
virtual ~ICnrEvent()
ICnrEvent(const IControlEvent& event)
virtual ~IControlEvent()
virtual unsigned long controlId() const
IControlEvent(const IControlEvent& event)
IControlEvent(const IEvent& event)
virtual ~IEvent()
IWindowHandle controlHandle() const
virtual IWindow* controlWindow() const
IEvent& decrementOwnerLevels()
virtual IWindow* dispatchingWindow() const
unsigned long eventId() const
IWindowHandle handle() const
IEvent( const IWindowHandle& handle, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent( IWindow* window, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent(const IEvent& event)
IEvent& operator =(const IEvent& event)
IEventParameter1 parameter1() const
IEventParameter2 parameter2() const
bool passToOwner() const
IEventResult result() const
IEvent& setControlHandle(const IWindowHandle& handle)
IEvent& setDispatchingHandle(const IWindowHandle& handle)
IEvent& setDispatchingWindow(IWindow* window)
IEvent& setHandle(const IWindowHandle& handle)
IEvent& setNumberOfLevels(int levels = - 1)
IEvent& setPassToOwner(bool passOn = true)
IEvent& setResult(bool eventResult)
IEvent& setResult(const IEventResult& eventResult)
virtual IWindow* window() const
unsigned long containerId() const
char ** textRef() const
unsigned long textSize() const