Share via


MessageWindow.PostMessage Method

Sends a message to the message window and returns immediately.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

Syntax

'Declaration
Public Shared Sub PostMessage ( _
    ByRef m As Message _
)
'Usage
Dim m As Message 

MessageWindow.PostMessage(m)
public static void PostMessage(
    ref Message m
)
public:
static void PostMessage(
    Message% m
)
public static function PostMessage(
    m : Message
)

Parameters

Remarks

The .NET Compact Framework provides the Message structure for generating Windows-based messages.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

See Also

Reference

MessageWindow Class

MessageWindow Members

Microsoft.WindowsCE.Forms Namespace

SendMessage