Click here to Skip to main content
15,394,299 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: What to do with dependent assemblies when using a COM wrapper. Pin
Gary Hyslop at home21-Sep-04 7:24
MemberGary Hyslop at home21-Sep-04 7:24 
GeneralRe: What to do with dependent assemblies when using a COM wrapper. Pin
Steven Campbell21-Sep-04 16:27
MemberSteven Campbell21-Sep-04 16:27 
QuestionHow to get properties printing? Pin
I am kai20-Sep-04 22:20
MemberI am kai20-Sep-04 22:20 
AnswerRe: How to get properties printing? Pin
progload24-Sep-04 18:40
Memberprogload24-Sep-04 18:40 
GeneralPrinting font size issue Pin
Null Monkey20-Sep-04 11:02
MemberNull Monkey20-Sep-04 11:02 
GeneralRe: Printing font size issue Pin
sreejith ss nair20-Sep-04 18:07
Membersreejith ss nair20-Sep-04 18:07 
GeneralRe: Printing font size issue Pin
Null Monkey21-Sep-04 8:32
MemberNull Monkey21-Sep-04 8:32 
GeneralReplicating Tahoma 8pt, FlatStyle=System with drawstring Pin
Al Gardner20-Sep-04 4:55
MemberAl Gardner20-Sep-04 4:55 
Maybe I am just over fussy, but I would like to exactly replicate the OS Font when ownerdrawing a control. I have looked at the examples on CodeProject and the Web and all of them seem to fail to correctly render.

To demonstrate this try,
Create a new windows form application, and set the form to Tahoma.
Add a standard label, Textbox or other control, and set it to be FlatStyle=System. Set it's .Text to be "Debug"
Then add a new user control, override the OnPaint and Drawstring("Debug"...);

You will notice that the D and e have a different spacing and also that the final point of the e raises on the Drawstring text. (Use the XP magnifier or download the taskbar magnifier from MS powertools to see it more easily).

I have so far tried:
StringFormat, SmoothingMode, InterpolationMode and TextRenderingHint and yet I have failed to have much effect.

Does anybody have the answer?
GeneralRemote SQLServer Connection in .NET Pin
Sendilkumar.M20-Sep-04 1:44
MemberSendilkumar.M20-Sep-04 1:44 
GeneralRe: Remote SQLServer Connection in .NET Pin
Colin Angus Mackay20-Sep-04 1:59
MemberColin Angus Mackay20-Sep-04 1:59 
GeneralRe: Remote SQLServer Connection in .NET Pin
Sendilkumar.M20-Sep-04 2:17
MemberSendilkumar.M20-Sep-04 2:17 
GeneralRe: Remote SQLServer Connection in .NET Pin
Colin Angus Mackay20-Sep-04 2:42
MemberColin Angus Mackay20-Sep-04 2:42 
GeneralRe: Remote SQLServer Connection in .NET Pin
Sendilkumar.M20-Sep-04 17:50
MemberSendilkumar.M20-Sep-04 17:50 
GeneralThread Safe Pin
Sendilkumar.M19-Sep-04 19:34
MemberSendilkumar.M19-Sep-04 19:34 
GeneralRe: Thread Safe Pin
mav.northwind19-Sep-04 22:24
Membermav.northwind19-Sep-04 22:24 
GeneralRe: Thread Safe Pin
Sendilkumar.M20-Sep-04 2:19
MemberSendilkumar.M20-Sep-04 2:19 
GeneralRe: Thread Safe Pin
mav.northwind20-Sep-04 23:40
Membermav.northwind20-Sep-04 23:40 
GeneralManaging User Accounts and Gruops at Runtime Pin
joaoPaulo17-Sep-04 2:09
MemberjoaoPaulo17-Sep-04 2:09 
GeneralRe: Managing User Accounts and Gruops at Runtime Pin
Anonymous17-Sep-04 12:14
MemberAnonymous17-Sep-04 12:14 
GeneralUsing Windows XP Visual Styles Pin
aninddroy16-Sep-04 23:24
Memberaninddroy16-Sep-04 23:24 
QuestionHow does .net runtime bind an assembly at runtime Pin
pgupta808016-Sep-04 21:30
Memberpgupta808016-Sep-04 21:30 
AnswerRe: How does .net runtime bind an assembly at runtime Pin
sukesh.g19-Sep-04 20:42
Membersukesh.g19-Sep-04 20:42 
General.NET Remoting hosted in IIS Pin
be kunkun16-Sep-04 20:01
Memberbe kunkun16-Sep-04 20:01 
GeneralIrregular shaped forms Pin
loewe19876516-Sep-04 19:20
Memberloewe19876516-Sep-04 19:20 
GeneralAuthorization and Profile Application Blocks Pin
nkiran15-Sep-04 18:57
Membernkiran15-Sep-04 18:57 

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.