8#include "GUIPropertyItemBase.h"
200 virtual void Enable(
bool bEnable)
override;
Template type array class.
Definition FLArray.h:53
Template type string class.
Definition FLString.h:34
CGUIPropertyItemBase()
Default constructor.
virtual Base::CFLString< wchar_t > GetValue() const override
Get the current text value (multi-line).
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath) override
Load the text from a file.
virtual bool SetBufferValue(Base::CFLString< wchar_t > strValue) override
Sets the buffer value of this.
static Base::CFLString< wchar_t > ConvertSingleToMultiLine(const wchar_t *strSingleLine)
Convert a single-line, loadable/savable representation back to a normal multi-line string.
virtual void SetHeight(int32_t i32Height=100)
Set the editor height in pixels.
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData) override
Load the text from an array buffer (e.g., serialized lines).
virtual void SetDefaultValue(const Base::CFLString< wchar_t > &strDefaultValue) override
Sets the default value of this.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value for this.
virtual bool IsHScroll() const
Query whether horizontal scroll is enabled.
virtual bool Save(Base::CFLArray< Base::CFLString< wchar_t > > &flaData) const override
Save the text into an array buffer (e.g., serialized lines).
virtual bool SetOrigValue(const Base::CFLString< wchar_t > &strValue) override
Sets the original value of this.
virtual ~CGUIPropertyItemMultiLineText()
Destructor.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates and returns a new grid property associated with this.
static Base::CFLString< wchar_t > ConvertMultiToSingleLine(const Base::CFLString< wchar_t > &strMultiLine)
Convert a normal multi-line string to a single-line, loadable/savable representation....
virtual bool SetHScroll(bool bHorzScroll)
Enable or disable horizontal scroll in the editor.
virtual bool Save(const Base::CFLString< wchar_t > &strFilePath) const override
Save the text to a file.
virtual int32_t GetHeight() const
Get the editor height in pixels.
virtual void Enable(bool bEnable) override
Enable or disable this property item (editing).
CGUIPropertyItemMultiLineText()
Default constructor.
Definition D2DObject.h:12