SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _AFXWIN_INLINE CSize CDC::
  2.  
  3. GetOutputTextExtent(LPCTSTR lpszString, int nCount) const
  4.     {
  5.         ASSERT(m_hDC != NULL);
  6.         SIZE size;
  7.         VERIFY(::GetTextExtentPoint32(m_hDC, lpszString, nCount, &size));
  8.         return size;
  9.     }
  10.      
  11. _AFXWIN_INLINE CSize CDC::GetOutputTextExtent(const CString& str) const
  12.     {
  13.         ASSERT(m_hDC != NULL);
  14.         SIZE size;
  15.         VERIFY(::GetTextExtentPoint32(m_hDC, str, (int)str.GetLength(), &size));
  16.         return size;
  17.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top