Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
voidClear();
Remarks
Call this function to delete (clear) the current selection (if any) in the edit control.
The deletion performed by Clear can be undone by calling the Undo member function.
To delete the current selection and place the deleted contents into the Clipboard, call the Cut member function.
For more information, see in the Win32 documentation.
Example
// The pointer to my edit.
extern CEdit* pmyEdit;
// Delete all of the text.
pmyEdit->SetSel(0, -1);
pmyEdit->Clear();
CEdit Overview | Class Members | Hierarchy Chart
See Also CEdit::Undo, CEdit::Copy, CEdit::Cut, CEdit::Paste