COXMaskedEdit::SetInputData

Dundas

COXMaskedEdit::SetInputData

Class Members | Overview

BOOL SetInputData(LPCTSTR pszInputData, int nBeginPos=0, BOOL bAllowPrompt=TRUE)

Parameters

pszInputData

Each character is entered into the control as if the user typed it in.

nBeginPos

Starting position for inserting or overwriting the Insert symbols in the mask.

bAllowPrompt

Determines whether or not the prompt symbol is a valid input character.

Return Value

TRUE if some data was inserted, otherwise FALSE.

Remarks

Use this to programmatically insert pszInputData into the masked edit control.  The mask is applied to the InputData.