IShellBrowser::SetStatusTextSB method (shobjidl_core.h)

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

Syntax

HRESULT SetStatusTextSB(
  LPCWSTR pszStatusText
);

Parameters

pszStatusText

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.0 or later)

See also

IShellBrowser