Ets_Ctl_Selected_String_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the selected string in a combo box or pop-up menu control.
Syntax
Ets_Ctl_Selected_String_Set (ctl_ptr, string_buffer)
| Argument | Type | Description |
|---|---|---|
ctl_ptr |
EtsT_Ctl * |
pointer to an ETS control |
string_buffer |
char * |
the value to set on the selected string |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if the control is not a combo box or pop-up menu; EtsC_Compcode_Success otherwise.
Header
ets_api_gui.h