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