Solved

Easy UI question about buttons...

Posted on 1997-07-22
3
223 Views
Last Modified: 2013-12-03
I would like to have more than one line of text on a button.
I simply want more height and less width on my buttons,
but I can't figure out how to make the button text wrap down to the second line. EX:

I want :

-------------------
|    Button   |
|        #1     |
-------------------

not:
---------------------------
|    Button  #1     |
---------------------------

Thanks.
0
Comment
Question by:salamander
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
md041797 earned 50 total points
ID: 1401697
Use BS_MULTILINE.
0
 

Author Comment

by:salamander
ID: 1401698
What about centering the text?
0
 
LVL 4

Expert Comment

by:md041797
ID: 1401699
There is no way to center justify the text, but if you use BS_CENTER style and put '\n' characters in the caption wherever you want to break the line, you will get a centered block on the button that is left justified.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question