Plug-in Reference — Inline Functions — Editor_SetClipPos

# Editor_SetClipPos

Sets the current position in the Clipboard history. You can use this inline function or explicitly send the EE_CLIP_HISTORY message.

Editor_SetClipPos( HWND hwnd, int iPos );

## Parameters

hwnd

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

iPos

Specifies the new position in the Clipboard history.

## Return Values

Retrieves the current position in the Clipboard history. If the message fails, the return value is -1.

## Version

Supported on EmEditor Version 9.00 or later.