EtsT_Command_Query_Checkmark_State_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called as needed to determine if an operation should be displayed with a checkmark.

Syntax

<checkmark_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 have a checkmark; EtsC_False if not.

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 with or without a checkmark. 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