Ets_Ctl_Edit_Top_Line_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the line number of the top text line visible in an edit control.
Syntax
Ets_Ctl_Edit_Top_Line_Get (ctl_ptr)
| Argument | Type | Description |
|---|---|---|
ctl_ptr |
EtsT_Ctl * |
pointer to an ETS control |
Return Type
int
Zero-based line number of the top-most visible line in the specified control. If this control is not an edit area or edit field, the function returns a -1 and a recoverable error is generated.
Header
ets_api_gui.h