Ets_Dbox_Title_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the title of a dialog box.
Syntax
Ets_Dbox_Title_Get (ets_dbox_ptr, title, int buflen)
| Argument | Type | Description |
|---|---|---|
ets_dbox_ptr |
EtsT_Dbox * |
pointer to an ETS dialog box |
title |
char * |
pointer to a buffer to receive the title of the dialog box |
buflen |
int |
the size of the buffer specified by "title" |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if ets_dbox_ptr is invalid or title is NULL; otherwise EtsC_Compcode_Success.
Header
ets_api_gui.h
Details
Copies the title of the specified dialog box into the buffer pointed to by the title argument. The maximum number of characters copied will be one less than the buflen argument (to allow for the terminating NULL character).