Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _AFXWIN_INLINE CSize CDC::
- GetOutputTextExtent(LPCTSTR lpszString, int nCount) const
- {
- ASSERT(m_hDC != NULL);
- SIZE size;
- VERIFY(::GetTextExtentPoint32(m_hDC, lpszString, nCount, &size));
- return size;
- }
- _AFXWIN_INLINE CSize CDC::GetOutputTextExtent(const CString& str) const
- {
- ASSERT(m_hDC != NULL);
- SIZE size;
- VERIFY(::GetTextExtentPoint32(m_hDC, str, (int)str.GetLength(), &size));
- return size;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement