#include <misc.h>
Definition at line 588 of file misc.h.
 
  
  | 
        
          | CStaticThemed::CStaticThemed | ( |  | ) |  |  | inline | 
 
 
Definition at line 591 of file misc.h.
  597                               {
m_id = id; 
if (m_hWnd != NULL) Invalidate();}
 
 
 
  
  | 
        
          | void CStaticThemed::OnPaint | ( | CDCHandle |  | ) |  |  | inlineprivate | 
 
Definition at line 608 of file misc.h.
  610             SetMsgHandled(FALSE); 
return;
   615                 m_fallback = 
true; SetMsgHandled(FALSE); 
return;
   619         TCHAR buffer[512] = {};
   620         GetWindowText(buffer, _countof(buffer));
   623         WIN32_OP_D( GetClientRect(contentRect) );
   625         dc.SetTextColor(GetSysColor(COLOR_WINDOWTEXT));
   626         dc.SetBkMode(TRANSPARENT);
   629             CRect rcText(contentRect);
   631             DWORD style = GetStyle();
   632             if (style & SS_LEFT) flags |= DT_LEFT;
   633             else if (style & SS_RIGHT) flags |= DT_RIGHT;
   634             else if (style & SS_CENTER) flags |= DT_CENTER;
   635             if (style & SS_ENDELLIPSIS) flags |= DT_END_ELLIPSIS;
   637             HRESULT retval = DrawThemeText(
m_theme, dc, 
m_id, 0, buffer, txLen, flags, 0, rcText);
   638             PFC_ASSERT( SUCCEEDED( retval ) );
 
t_size strlen_max_t(const t_char *ptr, t_size max)
HTHEME OpenThemeData(HWND wnd, LPCWSTR classList)
 
 
  
  | 
        
          | int CStaticThemed::OnSetText | ( | LPCTSTR | lpstrText | ) |  |  | inlineprivate | 
 
Definition at line 599 of file misc.h.
  601         SetMsgHandled(FALSE);
  
 
  
  | 
        
          | void CStaticThemed::OnThemeChanged | ( |  | ) |  |  | inlineprivate | 
 
 
  
  | 
        
          | bool CStaticThemed::m_fallback |  | private | 
 
 
The documentation for this class was generated from the following file: