SECCurrencyEdit::PrepareTextForPaste

BOOLSECCurrencyEdit::PrepareTextForPaste(CString&strText)

This method prepares incoming text for a paste operation.

Defined in: curredit.cpp

Return Value

Nonzero if paste should continue, otherwise 0.

Parameters

strText

Reference of string to paste

Comments

If the entire numeric portion is selected, then it leaves the text alone. If, however, the incoming text is going to be appended or inserted somewhere into the current control value, then we remove potentially difficult characters (currency signs, decimal separators, etc.) before proceeding.

See Also

SECCurrencyEdit