closeDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 12: Line 12:
#define IDC_CANCEL 2 // emulate "Cancel" button
#define IDC_CANCEL 2 // emulate "Cancel" button
</syntaxhighlight>
</syntaxhighlight>
{{Important | Sometimes when one display is opened on top of another display, previous display may not close properly, i.e. some display EHs such as "onUnload" may never fire. Use this command to manually handle such displays.}}
{{Feature | important | Sometimes when one display is opened on top of another display, previous display may not close properly, i.e. some display EHs such as "onUnload" may never fire. Use this command to manually handle such displays.}}


| display [[closeDisplay]] exitCode
| display [[closeDisplay]] exitCode

Revision as of 02:07, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
display: Display
exitCode: Number
Return Value:
Return value needed

Examples

Example 1:
_display closeDisplay 1;
Example 2:
#define IDC_OK 1 _display closeDisplay IDC_OK;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note