19 long _numericDecimalDigits;
HWND WinHandle
Definition Common.h:16
Component()
Constructs a new Component instance.
Definition EventListeners.h:15
void setMask(const wstring &mask)
Sets the input mask for the field.
wstring getText()
Gets the current text value.
void onDataChanged(WinHandle hTarget, const wstring &newValue, const ProcParams &procParams)
Handles data changed events.
void windowCreated()
Called after the window is created.
MaskedField()
Constructs a MaskedField with no mask or text.
int getPreferredHeight()
Returns the preferred height.
virtual ~MaskedField()
Destructor.
void setText(const wstring &text)
Sets the text value of the field.
BOOL isNumeric(long &decimalDigits)
Checks if the field is numeric and outputs decimal digits count.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Provides window creation options for the masked input field.
void setNumeric(long decimalDigits)
Configures the field to accept numeric input only, with specified decimal digits.
void addDataChangedListener(DataChangeListener *l)
Adds a listener to receive data change notifications.
wstring getMask()
Retrieves the current mask.
void setReadOnly(BOOL readOnly)