RichInk Control Messages

The following table lists messages that are used with the RichInk control.

Message Description
EM_CANPASTE Determines whether a rich edit control can paste a specified clipboard format.
EM_CANREDO Determines whether actions can be redone.
EM_CANUNDO Determines whether actions cannot be redone.
EM_CLEARALL Clears all of the current document's data.
EM_GETPAGESTYLE Gets the page style of the RichInk Control.
EM_GETPENMODE Gets the new pen mode.
EM_GETVIEW Gets the view style.
EM_GETWRAPMODE Gets the wrap mode — window or page.
EM_GETZOOMPERCENT Gets the zoom percentage.
EM_INSERTLINKS Inserts the passed string as a link string.
EM_REDOEVENT Redoes the allowable action.
EM_SETINKLAYER Sets the page style — including ruled lines.
EM_SETPAGESTYLE Sets individual aspects of the view mode.
EM_SETPENMODE Sets the new pen mode.
EM_SETVIEW Sets the view style — typing, writing, or drawing.
EM_SETVIEWATTRIBUTES Sets the view attributes.
EM_SETWRAPMODE Sets the wrap mode.
EM_SETZOOMPERCENT Sets the zoom percentage.
EM_STREAMIN Replaces the contents of a RichInk control with a stream of data provided by an application-defined EditStreamCallback function.
EM_STREAMOUT Causes a RichInk control to pass its contents to an application-defined EditStreamCallback callback function.
EM_UNDOEVENT Reverts to the state of the last action.

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.