Click here to Skip to main content
15,894,320 members
Home / Discussions / C#
   

C#

 
GeneralRe: change Items selected in a listbox in runtime Pin
Dan Mos31-Jan-10 2:20
Dan Mos31-Jan-10 2:20 
AnswerRe: change Items selected in a listbox in runtime Pin
Mycroft Holmes31-Jan-10 0:12
professionalMycroft Holmes31-Jan-10 0:12 
AnswerRe: change Items selected in a listbox in runtime Pin
googoojkhan31-Jan-10 0:19
googoojkhan31-Jan-10 0:19 
QuestionItem in C# Pin
jojoba201030-Jan-10 19:05
jojoba201030-Jan-10 19:05 
QuestionRe: Item in C# Pin
jojoba201030-Jan-10 21:39
jojoba201030-Jan-10 21:39 
QuestionFind maximum font size where string fits in a box [modified] Pin
hain30-Jan-10 11:43
hain30-Jan-10 11:43 
AnswerRe: Find maximum font size where string fits in a box Pin
Luc Pattyn30-Jan-10 12:24
sitebuilderLuc Pattyn30-Jan-10 12:24 
GeneralRe: Find maximum font size where string fits in a box Pin
DaveyM6930-Jan-10 13:46
professionalDaveyM6930-Jan-10 13:46 
Hi Luc Smile | :)

I came across this myself a little while ago when I discovered some inaccuracies in MeasureString when I used it in a custom control.

In my particular situation it was more of an annoyance than a requirement so I decided to live with it, but if accurate measurement is required then MeasureString doesn't quite cut it.

Apparently MeasureCharacterRanges can help too (according to the notes I made at the time).

Dave

Tip: Passing values between objects using events (C#)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)

GeneralRe: Find maximum font size where string fits in a box Pin
Luc Pattyn30-Jan-10 13:56
sitebuilderLuc Pattyn30-Jan-10 13:56 
GeneralRe: Find maximum font size where string fits in a box Pin
DaveyM6930-Jan-10 14:07
professionalDaveyM6930-Jan-10 14:07 
GeneralRe: Find maximum font size where string fits in a box Pin
hain6-Feb-10 17:19
hain6-Feb-10 17:19 
AnswerRe: Find maximum font size where string fits in a box Pin
Dave Kreskowiak30-Jan-10 14:07
mveDave Kreskowiak30-Jan-10 14:07 
AnswerRe: Find maximum font size where string fits in a box Pin
#realJSOP31-Jan-10 0:16
mve#realJSOP31-Jan-10 0:16 
QuestionSorting Pin
BobInNJ30-Jan-10 11:00
BobInNJ30-Jan-10 11:00 
AnswerRe: Sorting Pin
Luc Pattyn30-Jan-10 11:30
sitebuilderLuc Pattyn30-Jan-10 11:30 
GeneralRe: Sorting Pin
BobInNJ30-Jan-10 12:06
BobInNJ30-Jan-10 12:06 
GeneralRe: Sorting Pin
Luc Pattyn30-Jan-10 12:14
sitebuilderLuc Pattyn30-Jan-10 12:14 
GeneralRe: Sorting Pin
Gideon Engelberth30-Jan-10 19:15
Gideon Engelberth30-Jan-10 19:15 
GeneralRe: Sorting Pin
Luc Pattyn1-Feb-10 3:32
sitebuilderLuc Pattyn1-Feb-10 3:32 
GeneralRe: Sorting Pin
Gerry Schmitz30-Jan-10 14:43
mveGerry Schmitz30-Jan-10 14:43 
GeneralRe: Sorting [modified] Pin
PIEBALDconsult30-Jan-10 17:09
mvePIEBALDconsult30-Jan-10 17:09 
GeneralRe: Sorting [modified] Pin
Gideon Engelberth30-Jan-10 19:18
Gideon Engelberth30-Jan-10 19:18 
GeneralRe: Sorting Pin
Luc Pattyn31-Jan-10 1:58
sitebuilderLuc Pattyn31-Jan-10 1:58 
GeneralRe: Sorting Pin
Gideon Engelberth31-Jan-10 6:46
Gideon Engelberth31-Jan-10 6:46 
GeneralRe: Sorting Pin
Luc Pattyn31-Jan-10 14:14
sitebuilderLuc Pattyn31-Jan-10 14:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.