void SetText( LPCTSTR pszText );
Parameters
pszText
A pointer to a character string.
Remarks
Call this function to set the value of your control’s stock Caption or Text property.
Note that the stock Caption and Text properties are both mapped to the same value. This means that any changes made to either property will automatically change both properties. In general, a control should support either the stock Caption or Text property, but not both.
COleControl Overview | Class Members | Hierarchy Chart
See Also COleControl::GetText, COleControl::InternalGetText, COleControl::OnTextChanged