I'm trying to create a matrix with columns that automatically resize in size to the content. I'm experiencing difficulties with using something like this.
string sText = "hello";
CSize size;
size = dc.GetTextExtent(sText.c_str());
The GetTextExtens gives something which is close to the correct size but still a bit off. I could get all of the font properties at this time, but i'm unaware as to where i should put them.