呼叫GetTextMetrics取得字体大小

void CTest1Dlg::OnButton4() {  // TODO: Add your control notification handler code here  TEXTMETRIC tm;  CDC* pDC = GetDC();  pDC->GetTextMetrics(&tm);  LONG ltmheight = tm.tmHeight;  CString str;  st
相关文章
相关标签/搜索