Click to Rate and Give Feedback
MSDN
MSDN Library
Shell
Shell Reference
 SB_SETTEXT

  Switch on low bandwidth view
SB_SETTEXT
Windows Mobile SupportedWindows Embedded CE Supported
8/28/2008

This message sets the text in the specified part of a status window.


SB_SETTEXT wParam = (WPARAM) iPart | uType; 
    lParam = (LPARAM)(LPSTR) szText;
iPart

Zero-based index of the part to set. If this value is 255, the status window is assumed to be a simple window having only one part.

uType

Type of drawing operation. It is one of the following values.

Value Description

0

The text is drawn with a border to appear lower than the plane of the window.

SBT_NOBORDERS

The text is drawn without borders.

SBT_OWNERDRAW

The text is drawn by the parent window.

SBT_POPOUT

The text is drawn with a border to appear higher than the plane of the window.

SBT_RTLREADING

Displays text using right-to-left reading order on Hebrew or Arabic systems.

szText

Null-terminated string that specifies the text to set. If uType is SBT_OWNERDRAW, this parameter represents 32 bits of data. The parent window must interpret the data and draw the text when it receives the WM_DRAWITEM message. The text for each part is limited to 127 characters.

TRUE indicates success. FALSE indicates failure.

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker