GUI Help > Special > getSelLen
getSelLen
int start=getSelLen(handle editGadget)
Description: Retrieves the length of the current selection in an edit gadget.
Return Value: Length of the current selection. -1 if the edit gadget does not have a selection.
Parameters:
editGadget | Handle to an edit gadget
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)