I have an output window in my application, based on an CEdit object. (with multiline style)
I set its height to contain 2 lines(if working on small fonts).
The problem is that when working in large fonts I can see only a little bit more than one line.
how can I calculate the height which I need to set the CEdit Ctrl, in a way that it will contain 2 lines both in small and large fonts ??