Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Call this function to delete (clear) the current selection (if any) in the edit control.
void Clear( );
Remarks
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 WM_CLEAR in the Windows SDK.
Example
// Delete all of the text.
m_myEdit.SetSel(0, -1);
m_myEdit.Clear();
Requirements
Header: afxwin.h