EtsT_Command_Query_Enabled_State_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called as needed to determine if an operation should be enabled.

Syntax

<enabled_state_proc_name> (query_id_str)
Argument Type Description
query_id_str const char * Arbitrary string defined in the ETS operation list and used to identify the operation of interest to this callback procedure.

Return Type

int

EtsC_True if the operation should be enabled; EtsC_False for disabled.

ets_client.h

Details

This callback should determine if the operation (a menu, menu item, or tool button) identified by query_id_str must be displayed as enabled or disabled in the GUI. See “Dynamically Updating Operation Status“ on page 33 for an explanation of how to use this callback.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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