Learn how to easily measure the height and width needed to display text values using .NET classes.
Managed Extensions: Measuring Strings
Published 09/23/2004
Learn how to easily measure the height and width needed to display text values using .NET classes.
A simple routine to allow CString formatted strings to be used wherever a regular LPCSTR would be used, without needing to define a CString (ie, dynamically created and formatted LPCSTR strings)
A Simple CString Tokenizer
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
Fear not, Tuple lovers. This much-maligned data type is still in use today.
With just a few lines of code, you can have a quick way to make an Enum accept String values instead of an ordinary named constant.
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.