Share via


Message Class

Methods | Fields | This Package | All Packages

Implements a Windows message.

package com.ms.wfc.app

public final class Message

Remarks

The Message class wraps messages that are sent by Windows. You can use this class to wrap a message and assign it to the window procedure to be dispatched. You can also use this class to get information about a message that is sent to your application or controls. The Message class cannot be created directly. To create or free a Message object, use the static methods create and free, respectively. To make creating Message objects more efficient, the Message class uses its pool of existing Message objects instead of instantiating a new one. If a Message object is not available in the pool, a new object is instantiated.