Ets_Dbox_Ctl_Focus_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the control with input focus within a dialog box.
Syntax
Ets_Dbox_Ctl_Focus_Set (ets_dbox_ptr, ctl_ptr)
| Argument | Type | Description |
|---|---|---|
ets_dbox_ptr |
EtsT_Dbox * |
pointer to an ETS dialog box |
ctl_ptr |
EtsT_Ctl * |
pointer to a control within the specified dialog box. (If the control does not belong to the dialog box, the results are unspecified.) |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if ets_dbox_ptr is invalid; otherwise EtsC_Compcode_Success.
Header
ets_api_gui.h
Details
Causes the specified control within the dialog box to have the input focus (that is, makes it the control that will respond to keyboard events).