EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


Removes text at the specified position in the Clipboard history. You can use this inline function or explicitly send the EE_CLIP_HISTORY message.

Editor_RemoveClip( HWND hwnd, UINT iPos, UINT nFlags );



Specifies the window handle of the view or frame of EmEditor.


Specifies the position in the Clipboard history.


Specifies the format of the Clipboard to removed.

SEL_TYPE_CHAR The Clipboard format is normal text.
SEL_TYPE_LINE The Clipboard format is lines of text.
SEL_TYPE_BOX The Clipboard format is vertical selection of text.

Return Values

The return value is the position in the Clipboard history where the text is removed. If the message fails, the return value is -1.


Supported on EmEditor Version 9.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.