Skip to content

Latest commit

 

History

History
83 lines (49 loc) · 2.17 KB

em-stopgrouptyping.md

File metadata and controls

83 lines (49 loc) · 2.17 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
EM_STOPGROUPTYPING message (Richedit.h)
Stops a rich edit control from collecting additional typing actions into the current undo action. The control stores the next typing action, if any, into a new action in the undo queue.
3059826f-84d1-4b7b-b4a8-da17d5f41013
EM_STOPGROUPTYPING message Windows Controls
apiref
EM_STOPGROUPTYPING
Richedit.h
HeaderDef
reference
05/31/2018

EM_STOPGROUPTYPING message

Stops a rich edit control from collecting additional typing actions into the current undo action. The control stores the next typing action, if any, into a new action in the undo queue.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is zero. This message cannot fail.

Remarks

A rich edit control groups consecutive typing actions, including characters deleted by using the BackSpace key, into a single undo action until one of the following events occurs:

  • The control receives an EM_STOPGROUPTYPING message.
  • The control loses focus.
  • The user moves the current selection, either by using the arrow keys or by clicking the mouse.
  • The user presses the Delete key.
  • The user performs any other action, such as a paste operation that does not involve typing.

You can send the EM_STOPGROUPTYPING message to break consecutive typing actions into smaller undo groups. For example, you could send EM_STOPGROUPTYPING after each character or at each word break.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

EM_UNDO