The ICnrBeginEditEvent class retrieves information about a container direct edit event. Objects of this class are dispatched when editing begins in one of the editable fields of the container. The event provides information about the text being edited as well as the type of text (heading, icon, or details view) being edited. See also ICnrEditHandler::beginEdit
You can construct and destruct objects of this class.
![]() |
public:
virtual ~ICnrBeginEditEvent()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
ICnrBeginEditEvent(const IControlEvent& event)
Although you can create objects of this class, typically ICnrEditHandler::dispatchHandlerEvent creates them from an IControlEvent object in response to a request to begin editing.
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 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 IEvent& event)
IControlEvent(const IControlEvent& 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(const IEvent& event)
IEvent( IWindow* window, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
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