Lines Matching refs:m_hTheme

71 	HTHEME m_hTheme;
75 CTheme(HTHEME hTheme = NULL) : m_hTheme(hTheme) in m_hTheme() function
83 return (m_hTheme == NULL); in IsThemeNull()
88 m_hTheme = hTheme;
94 return m_hTheme; in HTHEME()
99 m_hTheme = hTheme; in Attach()
104 HTHEME hTheme = m_hTheme; in Detach()
105 m_hTheme = NULL; in Detach()
143 ATLASSERT(m_hTheme == NULL); in OpenThemeData()
144 m_hTheme = ::OpenThemeData(hWnd, pszClassList); in OpenThemeData()
145 return m_hTheme; in OpenThemeData()
151 if(m_hTheme != NULL) in CloseThemeData()
153 hRet = ::CloseThemeData(m_hTheme); in CloseThemeData()
155 m_hTheme = NULL; in CloseThemeData()
162 ATLASSERT(m_hTheme != NULL);
163 return ::DrawThemeBackground(m_hTheme, hDC, nPartID, nStateID, pRect, pClipRect);
170 ATLASSERT(m_hTheme != NULL);
171 return ::DrawThemeBackgroundEx(m_hTheme, hDC, nPartID, nStateID, pRect, pOptions);
177 ATLASSERT(m_hTheme != NULL); in DrawThemeText()
178 …return ::DrawThemeText(m_hTheme, hDC, nPartID, nStateID, pszText, nCharCount, dwTextFlags, dwTextF… in DrawThemeText()
183 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundContentRect()
184 …return ::GetThemeBackgroundContentRect(m_hTheme, hDC, nPartID, nStateID, pBoundingRect, pContentR… in GetThemeBackgroundContentRect()
189 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundExtent()
190 return ::GetThemeBackgroundExtent(m_hTheme, hDC, nPartID, nStateID, pContentRect, pExtentRect); in GetThemeBackgroundExtent()
195 ATLASSERT(m_hTheme != NULL); in GetThemePartSize()
196 return ::GetThemePartSize(m_hTheme, hDC, nPartID, nStateID, pRect, eSize, pSize); in GetThemePartSize()
201 ATLASSERT(m_hTheme != NULL); in GetThemeTextExtent()
202 …return ::GetThemeTextExtent(m_hTheme, hDC, nPartID, nStateID, pszText, nCharCount, dwTextFlags, pB… in GetThemeTextExtent()
207 ATLASSERT(m_hTheme != NULL); in GetThemeTextMetrics()
208 return ::GetThemeTextMetrics(m_hTheme, hDC, nPartID, nStateID, pTextMetric); in GetThemeTextMetrics()
213 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundRegion()
214 return ::GetThemeBackgroundRegion(m_hTheme, hDC, nPartID, nStateID, pRect, pRegion); in GetThemeBackgroundRegion()
219 ATLASSERT(m_hTheme != NULL); in HitTestThemeBackground()
220 …return ::HitTestThemeBackground(m_hTheme, hDC, nPartID, nStateID, dwOptions, pRect, hrgn, ptTest, … in HitTestThemeBackground()
225 ATLASSERT(m_hTheme != NULL);
226 return ::DrawThemeEdge(m_hTheme, hDC, nPartID, nStateID, pDestRect, uEdge, uFlags, pContentRect);
231 ATLASSERT(m_hTheme != NULL); in DrawThemeIcon()
232 return ::DrawThemeIcon(m_hTheme, hDC, nPartID, nStateID, pRect, himl, nImageIndex); in DrawThemeIcon()
237 ATLASSERT(m_hTheme != NULL); in IsThemePartDefined()
238 return ::IsThemePartDefined(m_hTheme, nPartID, nStateID); in IsThemePartDefined()
243 ATLASSERT(m_hTheme != NULL); in IsThemeBackgroundPartiallyTransparent()
244 return ::IsThemeBackgroundPartiallyTransparent(m_hTheme, nPartID, nStateID); in IsThemeBackgroundPartiallyTransparent()
249 ATLASSERT(m_hTheme != NULL); in GetThemeColor()
250 return ::GetThemeColor(m_hTheme, nPartID, nStateID, nPropID, pColor); in GetThemeColor()
255 ATLASSERT(m_hTheme != NULL); in GetThemeMetric()
256 return ::GetThemeMetric(m_hTheme, hDC, nPartID, nStateID, nPropID, pnVal); in GetThemeMetric()
261 ATLASSERT(m_hTheme != NULL); in GetThemeString()
262 return ::GetThemeString(m_hTheme, nPartID, nStateID, nPropID, pszBuff, cchMaxBuffChars); in GetThemeString()
267 ATLASSERT(m_hTheme != NULL); in GetThemeBool()
268 return ::GetThemeBool(m_hTheme, nPartID, nStateID, nPropID, pfVal); in GetThemeBool()
273 ATLASSERT(m_hTheme != NULL); in GetThemeInt()
274 return ::GetThemeInt(m_hTheme, nPartID, nStateID, nPropID, pnVal); in GetThemeInt()
279 ATLASSERT(m_hTheme != NULL); in GetThemeEnumValue()
280 return ::GetThemeEnumValue(m_hTheme, nPartID, nStateID, nPropID, pnVal); in GetThemeEnumValue()
285 ATLASSERT(m_hTheme != NULL); in GetThemePosition()
286 return ::GetThemePosition(m_hTheme, nPartID, nStateID, nPropID, pPoint); in GetThemePosition()
292 ATLASSERT(m_hTheme != NULL); in GetThemeFont()
293 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, pFont); in GetThemeFont()
298 ATLASSERT(m_hTheme != NULL); in GetThemeFont()
299 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, pFont); in GetThemeFont()
304 ATLASSERT(m_hTheme != NULL); in GetThemeRect()
305 return ::GetThemeRect(m_hTheme, nPartID, nStateID, nPropID, pRect); in GetThemeRect()
310 ATLASSERT(m_hTheme != NULL); in GetThemeMargins()
311 return ::GetThemeMargins(m_hTheme, hDC, nPartID, nStateID, nPropID, pRect, pMargins); in GetThemeMargins()
316 ATLASSERT(m_hTheme != NULL); in GetThemeIntList()
317 return ::GetThemeIntList(m_hTheme, nPartID, nStateID, nPropID, pIntList); in GetThemeIntList()
322 ATLASSERT(m_hTheme != NULL); in GetThemePropertyOrigin()
323 return ::GetThemePropertyOrigin(m_hTheme, nPartID, nStateID, nPropID, pOrigin); in GetThemePropertyOrigin()
328 ATLASSERT(m_hTheme != NULL); in GetThemeFilename()
329 …return ::GetThemeFilename(m_hTheme, nPartID, nStateID, nPropID, pszThemeFileName, cchMaxBuffChars); in GetThemeFilename()
334 ATLASSERT(m_hTheme != NULL); in GetThemeSysColor()
335 return ::GetThemeSysColor(m_hTheme, nColorID); in GetThemeSysColor()
340 ATLASSERT(m_hTheme != NULL); in GetThemeSysColorBrush()
341 return ::GetThemeSysColorBrush(m_hTheme, nColorID); in GetThemeSysColorBrush()
346 ATLASSERT(m_hTheme != NULL); in GetThemeSysSize()
347 return ::GetThemeSysSize(m_hTheme, nSizeID); in GetThemeSysSize()
352 ATLASSERT(m_hTheme != NULL); in GetThemeSysBool()
353 return ::GetThemeSysBool(m_hTheme, nBoolID); in GetThemeSysBool()
358 ATLASSERT(m_hTheme != NULL); in GetThemeSysFont()
359 return ::GetThemeSysFont(m_hTheme, nFontID, plf); in GetThemeSysFont()
364 ATLASSERT(m_hTheme != NULL); in GetThemeSysString()
365 return ::GetThemeSysString(m_hTheme, nStringID, pszStringBuff, cchMaxStringChars); in GetThemeSysString()
370 ATLASSERT(m_hTheme != NULL); in GetThemeSysInt()
371 return ::GetThemeSysInt(m_hTheme, nIntID, pnValue); in GetThemeSysInt()
379 ATLASSERT(m_hTheme == NULL); in OpenThemeDataEx()
380 m_hTheme = ::OpenThemeDataEx(hWnd, pszClassList, dwFlags); in OpenThemeDataEx()
381 return m_hTheme; in OpenThemeDataEx()
387 ATLASSERT(m_hTheme != NULL); in DrawThemeTextEx()
388 …return ::DrawThemeTextEx(m_hTheme, hDC, nPartID, nStateID, pszText, cchText, dwTextFlags, lpRect, … in DrawThemeTextEx()
393 ATLASSERT(m_hTheme != NULL); in GetThemeTransitionDuration()
394 …return ::GetThemeTransitionDuration(m_hTheme, nPartID, nFromStateID, nToStateID, nPropID, &dwDurat… in GetThemeTransitionDuration()
401 ATLASSERT(m_hTheme != NULL); in GetThemeBitmap()
402 return ::GetThemeBitmap(m_hTheme, nPartID, nStateID, nPropID, uFlags, &hBitmap); in GetThemeBitmap()
407 ATLASSERT(m_hTheme != NULL); in GetThemeStream()
408 return ::GetThemeStream(m_hTheme, nPartID, nStateID, nPropID, ppvStream, pcbStream, hInstance); in GetThemeStream()
415 ATLASSERT(m_hTheme != NULL); in GetThemeAnimationProperty()
416 …return ::GetThemeAnimationProperty(m_hTheme, iStoryboardId, iTargetId, eProperty, pvProperty, cbSi… in GetThemeAnimationProperty()
421 ATLASSERT(m_hTheme != NULL); in GetThemeAnimationTransform()
422 …return ::GetThemeAnimationTransform(m_hTheme, iStoryboardId, iTargetId, dwTransformIndex, pTransfo… in GetThemeAnimationTransform()
427 ATLASSERT(m_hTheme != NULL); in GetThemeTimingFunction()
428 return ::GetThemeTimingFunction(m_hTheme, iTimingFunctionId, pTimingFunction, cbSize, pcbSizeOut); in GetThemeTimingFunction()
738 else if((this->m_hTheme != NULL) && ((m_dwExtendedStyle & THEME_EX_THEMECLIENTEDGE) != 0)) in OnNcPaint()
753 return AtlDrawThemeClientEdge(this->m_hTheme, pT->m_hWnd, hRgnUpdate, NULL, 0, 0); in DrawThemeClientEdge()