|
Slide 9.6: Line-by-line anatomy of Menu.c (cont.) (cont.) Slide 9.8: Line-by-line anatomy of Menu.c (cont.) Home |
|
Menu.c (Cont.)
FldDelete( fld, 0, FldGetTextLength( fld ) );
fldP: Pointer to a field object (FieldType structure)
FldCopy( fld );
fldP: Pointer to a field object (FieldType structure)
FldCut( fld );
fldP: Pointer to a field object (FieldType structure)
FldPaste( fld );
fldP: Pointer to a field object (FieldType structure)
FldSetSelection( fld, 0, FldGetTextLength( fld ) );
fldP: Pointer to a field object (FieldType structure)
startPosition: Starting offset of the character range to highlight, given as a byte offset into the field's text
endPosition: Ending offset of the character range to highlight