Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_RegisterWindowMessage

Previous pageReturn to chapter overviewNext page

 

Description

 

Defines a new window message that is guaranteed to be unique throughout the system.

The message value can be used when sending or posting messages.

 

Syntax

 

n = Win_RegisterWindowMessage(sText)

 

Returns

 

If the message is successfully registered, the return value is a message identifier in the range 0xC000 through 0xFFFF.

If the function fails, the return value is zero.

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

The message to be registered

 

Remarks

 

Restrictions

 

See also

 

Examples