IShellBrowser::SetStatusTextSB method

Sets and displays status text about the in-place object in the container's frame-window status bar.

Syntax


HRESULT SetStatusTextSB(
   LPCWSTR lpszStatusText
);

Parameters

lpszStatusText

Type: LPCWSTR

A pointer to a null-terminated character string that contains the message to display.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

It is also possible to send messages directly to the status window by using the IShellBrowser::SendControlMsg method.

Notes to Calling Applications

Use this method to set the contents of the status bar.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

See also

IShellBrowser

 

 

Show: