Lines in CEdit
-
Get the client rect of the CEdit. Use
m_edit.GetDC()
to get a DC, then callpDC->GetTextExtent("A")
to get the height of a line. Finally, divide the client rect height by the height of a line. Note that there might be a partial line. Don't forget to release the DC. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off. -
Get the client rect of the CEdit. Use
m_edit.GetDC()
to get a DC, then callpDC->GetTextExtent("A")
to get the height of a line. Finally, divide the client rect height by the height of a line. Note that there might be a partial line. Don't forget to release the DC. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off. -
Are you referring to the spacing between the lines?
-
Are you referring to the spacing between the lines?