Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Methods/CloseApp: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
Signals the MSN® Messenger client to close the Actvitity and remove it from the Conversation window. | Signals the MSN® Messenger client to close the Actvitity and remove it from the Conversation window. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
<pre class="clsCode">external.CloseApp | <pre class="clsCode">external.CloseApp</pre> | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
<pre class="clsCode">window.external.CloseApp() | <pre class="clsCode">window.external.CloseApp()</pre> | ||
</div> | </div> | ||
Return Values | === Return Values === | ||
No return value. | No return value. | ||
Remarks | === Remarks === | ||
This method is used to close the Activity when a game or collaborative activity is over. | This method is used to close the Activity when a game or collaborative activity is over. | ||
Line 32: | Line 30: | ||
When this method is used, the user is not prompted before the application is closed. The application is responsible for prompting the user before closing. | When this method is used, the user is not prompted before the application is closed. The application is responsible for prompting the user before closing. | ||
=== Method Information === | |||
'''Minimum Availability:''' MSN® Messenger 6.1 | |||
</div> | </div> |
Latest revision as of 00:33, 13 August 2022
CloseApp Method
Signals the MSN® Messenger client to close the Actvitity and remove it from the Conversation window.
VBScript Syntax
external.CloseApp
JavaScript Syntax
window.external.CloseApp()
Return Values
No return value.
Remarks
This method is used to close the Activity when a game or collaborative activity is over.
When this method is used, the user is not prompted before the application is closed. The application is responsible for prompting the user before closing.
Method Information
Minimum Availability: MSN® Messenger 6.1