HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

GetValue

Retrieves the value of a numeric input field or a mask variable.

C

BOOL SftMask_Contents_GetValue(HWND hwndCtl, short index, LPVARIANT lpVar);

C++

BOOL CSftMask::GetValue(short index, LPVARIANT lpVar) const;

Parameters

hwndCtl

The window handle of the masked edit control.

index

The zero-based index of the numeric input field, or the variable number defined using the !number value token (see Edit Masks).

lpVar

The address of a VARIANT receiving the value.

Returns

The return value is TRUE if the value was retrieved successfully.

Comments

Numeric input fields return numeric VARIANT values; value token variables return the field text. Using value tokens, portions of the input data can be accessed without knowing the exact character positions.

See Also SetValue | GetDateTime | Edit Masks


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.