8#include "GUIPropertyItemBase.h"
241 virtual void SetFlags(
unsigned long dwFileOpenFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT);
286 virtual const CResult EnableAbsolutePath(
bool bEnable);
287 virtual bool IsAbsolutePathEnabled()
const;
291 bool m_bOpenFileDialog;
292 unsigned long m_dwFileOpenFlags;
295 bool m_bAbsolutePath;
298 friend class CGUIPropertyGridPropertyFile;
299 friend class CGUIViewSNAPFileConverter;
300 friend class CSNAPObjectManager;
301 friend class CInternalViewSNAP;
Template type array class.
Definition FLArray.h:53
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
CGUIPropertyItemBase()
Default constructor.
virtual Base::CFLString< wchar_t > GetOrignalValue() const
Get the original (unconverted) value as provided (before relative → absolute conversion).
virtual unsigned long GetFlags() const
Get current file dialog flags.
virtual void SetFlags(unsigned long dwFileOpenFlags=OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT)
Set common file dialog flags. Default is (OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT)....
virtual Base::CFLString< wchar_t > GetFileFilter() const
Get the current filter string.
virtual void SetFolderDialogMode(bool bSet)
Enable folder-selection mode instead of file-selection mode.
CGUIPropertyItemFile()
Default constructor.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Set the current value (path string). If absolute-path mode is enabled, a relative path may be convert...
virtual void SetOpenFileDialogMode(bool bOpen)
Set the file dialog to Open or Save mode.
virtual bool IsOpenFileDialogMode() const
Query whether the dialog is in Open mode.
virtual Base::CFLString< wchar_t > GetValue() const override
Get the current value (path string). In absolute-path mode, an absolute path is returned.
virtual ~CGUIPropertyItemFile()
Destructor.
virtual Base::CFLString< wchar_t > GetFileExtension() const
Get the current default extension pattern(s).
virtual Base::CFLString< wchar_t > GetBufferValue() const override
Get the buffered (temporary) value.
virtual Base::CFLArray< Base::CFLString< wchar_t > > GetMultiSelectFilePath() const
Get all selected file paths when multi-select is enabled.
virtual void SetFileExtension(const Base::CFLString< wchar_t > &flstrDefExt)
Set default file extension pattern(s).
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates and returns a new grid property associated with this.
virtual bool GetFolderDialogMode() const
Check if folder-selection mode is enabled.
virtual void SetFileFilter(const Base::CFLString< wchar_t > &flstrFilter)
Set the file dialog filter string (MFC format). Example: L"All Supporting Files (*....
virtual bool SetBufferValue(Base::CFLString< wchar_t > strValue) override
Set the buffered (temporary) value without invoking callbacks.
Definition D2DObject.h:12