10#include "GUIPropertyItemBase.h"
11#include "GUIEditBase.h"
226 virtual void Enable(
bool bEnable)
override;
236 bool m_bRealtimeCallbackAutoDestroy;
238 friend class CGUIPropertyGridPropertyText;
Template type string class.
Definition FLString.h:34
EInputType
Input type.
Definition GUIEditBase.h:39
CGUIPropertyItemBase()
Default constructor.
virtual ~CGUIPropertyItemText()
Destructor.
CGUIPropertyItemText()
Default constructor.
virtual bool SetRealtimeEventCallback(CPropertyCallback *pCallback, bool bAutoDestroy=true)
Register a real-time callback invoked on every keystroke.
virtual void SetUserDefinedInput(const Base::CFLString< wchar_t > &flstrInvalidCharSet, const Base::CFLString< wchar_t > &flstrValidCharSet)
Set the character set to be denied or accept input.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback, bool bRedraw)
Set the text value with explicit redraw control. It does not check whether the value is valid (i....
virtual void SetToolTipText(const Base::CFLString< wchar_t > &flsToolTipText)
Set tooltip text shown when hovering the cell.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Set the text value. It does not check whether the value is valid (i.e., conforms to the input constra...
virtual void Enable(bool bEnable) override
Enable or disable editing of this item.
virtual void SetInputType(CGUIEditBase::EInputType eInputType)
Set the built-in input type (validation mode).
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Create and return the MFC grid property node for this text item.
virtual CGUIEditBase::EInputType GetInputType() const
Get the current input type (validation mode).
virtual CPropertyCallback * GetRealtimeEventCallback() const
Get the registered real-time callback pointer.
Definition D2DObject.h:12
std::function< void(CGUIPropertyItemBase *, Base::CFLString< wchar_t > &, const Base::CFLString< wchar_t > &)> CPropertyCallback
Value-change callback invoked from within SetValue().
Definition GUIPropertyItemBase.h:191