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.

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).

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com