Equivalence between twips and inches or pixels
Posted on 2000-05-13
I have added an ActiveX control to my application.. specifically it is a FlexGrid control. I need to know the height of the row so that I will be able to define the number of rows at run time. The problem is that the FlexGrid RowHeight property returns a value measured in twips, so that I need to convert it into pixels. That way I could use GetClientRect to know how many rows the control need to have when application is initialized.
I use Visual C++ 6.0.
Any advice? suggestion? help?
Thanks a lot in advance