Hi All, I am Using the GetTextExtent() function in VC++ to get the extent of the string which is to be printed with the currently selected Font... There are two issues to it: a. My App is a console based Application: So i dont have a dependabe DC, I have to create my own or get a handle from somewhere( thats what i am doing right now) as follows: CDC memDC; memDC.CreateCompatibleDC ( CDC::FromHandle( GetDC ( GetActiveWindow()))); But I think that the DC is the main Source of the Problem becoz of Which i am not getting the correct Width b. Second Issue: I want to use Twips as the unit of Measurement... For that i am using the SetMapMode Function(MM_TWIPS) i think tis is Correct..... Anyone who finds out a way to either correct me somewhere or suggest an absolutely new way .. please Help!!! This has been delayed for a long time now... Thanks and regards, Soorajchirag