Navigation:  thinBasic Modules > UI (User Interface) > Windows >

Win_PostQuitMessage

Previous pageReturn to chapter overviewNext page

 

Description

 

Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a %WM_DESTROY message

 

Syntax

 

n = Win_PostQuitMessage(ExitCode)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

ExitCode

Number

No

The application exit code. This value is used as the wParam parameter of the %WM_QUIT message

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms644945(VS.85).aspx

 

Restrictions

 

See also

 

Examples