Intermec ck1 Guía De Referencia

Descargar
Página de 390
Chapter 4 — SDK Components 
CK1 SDK Programmer’s Reference Manual 
195 
otk_maskedit_cut_to_clipboard 
 
Purpose:  Cut the text content of the marked region to the clipboard. 
 
Prototype: 
int otk_maskedit_cut_to_clipboard (OtkMaskEdit* oep);
 
 
Parameter:  oep 
Pointer of the specified mask edit instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_maskedit_paste_from_clipboard 
 
Purpose:  Paste the text content from the clipboard to the cursor position. 
 
Prototype: 
int otk_maskedit_paste_from_clipboard (OtkMaskEdit* oep);
 
 
Parameter:  oep 
Pointer of the specified mask edit instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_maskedit_clear_selection 
 
Purpose:  Delete the text content of the marked region. 
 
Prototype: 
int otk_maskedit_clear_selection (OtkMaskEdit* oep);
 
 
Parameter:  oep 
Pointer of the specified mask edit instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_maskedit_set_seltextbuf 
 
Purpose:  Replace the text content of the marked region with a specified buffer 
content. 
 
Prototype: 
int otk_maskedit_set_seltextbuf (OtkMaskEdit* oep, char* 
buffer, int bsize, OTK_BOOL marked);
 
 
Parameters:  oep   
Pointer of the specified mask edit instance 
buffer 
Pointer of the specified buffer that contains the text 
bsize 
Length of the text buffer content 
marked 
Whether the marked region still holds 
 
Return: 1 
 If 
succeeded 
0 If 
failed