please dont rip this site Prev Next

SB_SETTEXT Overview  Group

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

SB_SETTEXT 

wParam = (WPARAM) iPart | uType; 

lParam = (LPARAM) (LPSTR) szText; 

 

Parameters

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. This parameter can be one of the following values:

Value

Meaning

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
Pointer to a 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.

Return Values

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Remarks

The message invalidates the portion of the window that has changed, causing it to display the new text when the window next receives the WM_PAINT message.

See Also

WM_DRAWITEM, WM_PAINT 


file: /Techref/os/win/api/win32/mess/src/msg15_20.htm, 2KB, , updated: 2000/4/7 12:20, local time: 2022/5/27 05:01,
TOP NEW HELP FIND: 
100.24.115.215:LOG IN

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/mess/src/msg15_20.htm"> SB_SETTEXT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220527
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .