Ets_Msg_Warning()

Note: Requires OPNET Development Kit

Abstract

Displays a message tip with the given message attached to a dialog box, and writes the message to the message log.

Syntax

Ets_Msg_Warning (ets_dbox_ptr, line1, line2, line3)
Argument Type Description
ets_dbox_ptr EtsT_Dbox * pointer to the dialog box this error is related to. OPC_NIL is acceptable.
line1 const char * first line of message string.
line2 const char * second line of message string. OPC_NIL is acceptable.
line3 const char * third line of message string. OPC_NIL is acceptable.

Return Type

void

No return value.

ets_api_gui.h

Details

This function brings up a tooltip-like alert note with the given message attached to the dialog box. Use this function to inform the user about non-critical errors or errors caused by user actions. Example: "Distance must be a positive number, less than 100 km".

See the other Ets_Msg… functions for additional levels of event notification that include logging the message, providing a message tip, and providing a confirmation notification.

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