struct CCL::IEditBox
Overview
#include <ieditbox.h> struct IEditBox: public CCL::IUnknown { // methods virtual void CCL_API insertText (StringRef text) = 0; virtual void CCL_API removeText (int length) = 0; virtual void CCL_API setCaret (int textPosition) = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Methods
virtual void CCL_API insertText (StringRef text) = 0
Insert text at caret.
virtual void CCL_API removeText (int length) = 0
Remove text starting at caret.
Length may be negative to remove backwards.
virtual void CCL_API setCaret (int textPosition) = 0
Set caret to given index.