IMessenger::Window Property

[Window is no longer available in Windows Vista. See Windows Messenger for more information.]

Gets a pointer to a MessengerWindow object that is used to control automation properties of the main application window, including dimensions, positioning, and visibility.

This property is read-only.

Syntax (get)

HRESULT get_Window(
  [out, retval]  IDispatch **ppMWindow
);

Parameters

ppMWindow [out]

Return value. Address of a pointer to an IDispatch interface on a MessengerWindow object. This object can now be accessed through its IMessengerWindow interface.

Return Value

Returns one of the following values:

Return codeDescription
S_OK

Success. See Remarks.

E_INVALIDARG

Client not responding.

E_FAIL

Client not responding.

RPC_X_NULL_REF_POINTER

ppMWindow is a NULL pointer.

 

Remarks

This property allows access to an object with the IMessengerWindow interface that is used to implement a number of other common automation properties, including Height, Width, Top, Left, and Show.

Note  This property is available for scripting languages.

Requirements

Header

Msgrua.h

IDL

Msgrua.idl

DLL

Msgsc.dll

See Also

IMessenger

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: