IMessenger::Window Property

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

Syntax

HRESULT IMessenger::get_Window(IDispatch **ppMWindow);

Parameters

  • ppMWindow
    Return value. Address of a pointer to an IDispatch World Wide Web link interface on a MessengerWindow object. This object can now be accessed through its IMessengerWindow interface.

Return Value

Returns one of the following values:

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 IMessengerWindow::Height, IMessengerWindow::Width, IMessengerWindow::Top, IMessengerWindow::Left, and IMessengerWindow::Show.

Note  This property is available for scripting languages.

Important  IMessenger::Window is no longer available in Windows Vista. See Windows Messenger for more information.