Share via


MessageWindow Constructor

Creates a new instance of the MessageWindow class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New MessageWindow()
public MessageWindow()
public:
MessageWindow()
public function MessageWindow()

Exceptions

Exception Condition
Exception

The window handle is invalid.

Remarks

To use the MessageWindow class, derive a class from it. The derived class typically takes a form for its constructor. The form can be the containing form or another form, but is always the form that contains the callback method that responds to sent 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