Clipboard cut/paste

In this section:

The address of an EDIT_INFO structure associated with an edit box can also be passed to the following functions:

INTEGER FUNCTION EDIT_CLIPBOARD_COPY@(E)
INTEGER FUNCTION EDIT_CLIPBOARD_CUT@(E)
INTEGER FUNCTION EDIT_CLIPBOARD_PASTE@(E)
INTEGER FUNCTION EDIT_REFRESH@(E)

The first three functions perform the indicated clipboard operation using the current cursor position and current selected text in the edit box. They would typically be called from an edit menu call-back. The last function informs the edit control that the contents of the buffer have been replaced. In each case the function returns one if successful, and zero otherwise.

 

 

Basket
Empty
 
Copyright © 1999-2023 Silverfrost Limited