Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CStatusBar and centering text in the individual cells

20 views
Skip to first unread message

Tony

unread,
Nov 6, 2009, 4:00:09 AM11/6/09
to
Hi,

Can you centre align text in a Status Bar cell, or is it always left
aligned?

If so, how?

TIA

Tony

Joseph M. Newcomer

unread,
Nov 6, 2009, 8:46:00 AM11/6/09
to
I am not aware of any style that controls text alignment (although I have not looked at
the Feature Pack enhancements). But you might check out my article on adding controls to
the status bar on www.codeproject.com, and you can use the techniques to add a static text
control which has centered text.
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Eddie Pazz

unread,
Nov 6, 2009, 11:15:43 PM11/6/09
to
Put a \t in front of the text: "\tCAPS"

That centers the text.


"Tony" <to...@home.com> wrote in message
news:OIJER#rXKHA...@TK2MSFTNGP06.phx.gbl...

0 new messages