9#include "GUIPropertyItemCheckBox.h"
17 class CGUIPropertyGridPropertyCheckBox;
214 friend class CGUIPropertyGridPropertyCheckBox;
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1676
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates a property-grid node for this check box item.
virtual const CResult SetCheckBoxIndeterminateValue(const wchar_t *pWcsIndeterminate)
Sets the value displayed in the Value field when the checkbox is in the indeterminate (three-state) s...
virtual ECheckState GetCheckState() const override
Returns the current check state.
virtual void SetCheckState(ECheckState eState, bool bInvokeCallback=true) override
Sets the check state (3-state version).
virtual Base::CFLString< wchar_t > GetValue() const override
Returns the current value of this item as a string (the mapped text for the current check state).
virtual void EnableUserIndeterminate(bool bEnable=false)
Sets whether the user can change the state to indeterminate through user input such as clicking or pr...
bool m_bUserIndeterminate
Whether to allow the user to change the state to indeterminate. (Default: true)
Definition GUIPropertyItemCheckBox3State.h:212
Base::CFLString< wchar_t > m_strIndeterminate
Display string used when the state is indeterminate (3-state).
Definition GUIPropertyItemCheckBox3State.h:203
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value of this item as a string. The string is typically the mapped text for checked/unchecke...
CGUIPropertyItemCheckBox3State()
Default constructor.
virtual const CResult SetCheckBoxTrueFalseValue(const wchar_t *pWcsTrue, const wchar_t *pWcsFalse, const wchar_t *pWcsIndeterminate)
Sets the display strings for checked (true), unchecked (false), and indeterminate states....
virtual ~CGUIPropertyItemCheckBox3State()
Destructor.
virtual bool IsUserIndeterminateEnabled() const
Returns whether the user can change the state to indeterminate through user input such as clicking or...
virtual const Base::CFLString< wchar_t > & GetCheckBoxIndeterminateValue() const
Returns the display string used when the check box is in an indeterminate state.
CGUIPropertyItemCheckBox()
Default constructor.
Definition D2DObject.h:12
ECheckState
Defines the check states including 3-state logic.
Definition DefinitionsGUI.h:12871