Lines Matching refs:m_hTheme

102 	HTHEME m_hTheme;
106 CTheme(HTHEME hTheme = NULL) : m_hTheme(hTheme) in m_hTheme() function
114 return (m_hTheme == NULL); in IsThemeNull()
119 m_hTheme = hTheme;
125 return m_hTheme; in HTHEME()
130 m_hTheme = hTheme; in Attach()
135 HTHEME hTheme = m_hTheme; in Detach()
136 m_hTheme = NULL; in Detach()
174 ATLASSERT(m_hTheme == NULL); in OpenThemeData()
175 m_hTheme = ::OpenThemeData(hWnd, pszClassList); in OpenThemeData()
176 return m_hTheme; in OpenThemeData()
182 if(m_hTheme != NULL) in CloseThemeData()
184 hRet = ::CloseThemeData(m_hTheme); in CloseThemeData()
186 m_hTheme = NULL; in CloseThemeData()
193 ATLASSERT(m_hTheme != NULL);
194 return ::DrawThemeBackground(m_hTheme, hDC, nPartID, nStateID, pRect, pClipRect);
201 ATLASSERT(m_hTheme != NULL);
202 return ::DrawThemeBackgroundEx(m_hTheme, hDC, nPartID, nStateID, pRect, pOptions);
208 ATLASSERT(m_hTheme != NULL); in DrawThemeText()
209 …return ::DrawThemeText(m_hTheme, hDC, nPartID, nStateID, pszText, nCharCount, dwTextFlags, dwTextF… in DrawThemeText()
214 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundContentRect()
215 …return ::GetThemeBackgroundContentRect(m_hTheme, hDC, nPartID, nStateID, pBoundingRect, pContentR… in GetThemeBackgroundContentRect()
220 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundExtent()
221 return ::GetThemeBackgroundExtent(m_hTheme, hDC, nPartID, nStateID, pContentRect, pExtentRect); in GetThemeBackgroundExtent()
226 ATLASSERT(m_hTheme != NULL); in GetThemePartSize()
228 return ::GetThemePartSize(m_hTheme, hDC, nPartID, nStateID, pRect, eSize, pSize); in GetThemePartSize()
231 return ::GetThemePartSize(m_hTheme, hDC, nPartID, nStateID, (LPRECT)pRect, eSize, pSize); in GetThemePartSize()
237 ATLASSERT(m_hTheme != NULL); in GetThemeTextExtent()
238 …return ::GetThemeTextExtent(m_hTheme, hDC, nPartID, nStateID, pszText, nCharCount, dwTextFlags, pB… in GetThemeTextExtent()
243 ATLASSERT(m_hTheme != NULL); in GetThemeTextMetrics()
245 return ::GetThemeTextMetrics(m_hTheme, hDC, nPartID, nStateID, pTextMetric); in GetThemeTextMetrics()
248 return ::GetThemeTextMetrics(m_hTheme, hDC, nPartID, nStateID, (PTEXTMETRIC)pTextMetric); in GetThemeTextMetrics()
254 ATLASSERT(m_hTheme != NULL); in GetThemeBackgroundRegion()
255 return ::GetThemeBackgroundRegion(m_hTheme, hDC, nPartID, nStateID, pRect, pRegion); in GetThemeBackgroundRegion()
260 ATLASSERT(m_hTheme != NULL); in HitTestThemeBackground()
261 …return ::HitTestThemeBackground(m_hTheme, hDC, nPartID, nStateID, dwOptions, pRect, hrgn, ptTest, … in HitTestThemeBackground()
266 ATLASSERT(m_hTheme != NULL);
267 return ::DrawThemeEdge(m_hTheme, hDC, nPartID, nStateID, pDestRect, uEdge, uFlags, pContentRect);
272 ATLASSERT(m_hTheme != NULL); in DrawThemeIcon()
273 return ::DrawThemeIcon(m_hTheme, hDC, nPartID, nStateID, pRect, himl, nImageIndex); in DrawThemeIcon()
278 ATLASSERT(m_hTheme != NULL); in IsThemePartDefined()
279 return ::IsThemePartDefined(m_hTheme, nPartID, nStateID); in IsThemePartDefined()
284 ATLASSERT(m_hTheme != NULL); in IsThemeBackgroundPartiallyTransparent()
285 return ::IsThemeBackgroundPartiallyTransparent(m_hTheme, nPartID, nStateID); in IsThemeBackgroundPartiallyTransparent()
290 ATLASSERT(m_hTheme != NULL); in GetThemeColor()
291 return ::GetThemeColor(m_hTheme, nPartID, nStateID, nPropID, pColor); in GetThemeColor()
296 ATLASSERT(m_hTheme != NULL); in GetThemeMetric()
297 return ::GetThemeMetric(m_hTheme, hDC, nPartID, nStateID, nPropID, pnVal); in GetThemeMetric()
302 ATLASSERT(m_hTheme != NULL); in GetThemeString()
303 return ::GetThemeString(m_hTheme, nPartID, nStateID, nPropID, pszBuff, cchMaxBuffChars); in GetThemeString()
308 ATLASSERT(m_hTheme != NULL); in GetThemeBool()
309 return ::GetThemeBool(m_hTheme, nPartID, nStateID, nPropID, pfVal); in GetThemeBool()
314 ATLASSERT(m_hTheme != NULL); in GetThemeInt()
315 return ::GetThemeInt(m_hTheme, nPartID, nStateID, nPropID, pnVal); in GetThemeInt()
320 ATLASSERT(m_hTheme != NULL); in GetThemeEnumValue()
321 return ::GetThemeEnumValue(m_hTheme, nPartID, nStateID, nPropID, pnVal); in GetThemeEnumValue()
326 ATLASSERT(m_hTheme != NULL); in GetThemePosition()
327 return ::GetThemePosition(m_hTheme, nPartID, nStateID, nPropID, pPoint); in GetThemePosition()
333 ATLASSERT(m_hTheme != NULL); in GetThemeFont()
335 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, pFont); in GetThemeFont()
338 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, (LOGFONT*)pFont); in GetThemeFont()
344 ATLASSERT(m_hTheme != NULL); in GetThemeFont()
346 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, pFont); in GetThemeFont()
349 return ::GetThemeFont(m_hTheme, hDC, nPartID, nStateID, nPropID, (LOGFONT*)pFont); in GetThemeFont()
355 ATLASSERT(m_hTheme != NULL); in GetThemeRect()
356 return ::GetThemeRect(m_hTheme, nPartID, nStateID, nPropID, pRect); in GetThemeRect()
361 ATLASSERT(m_hTheme != NULL); in GetThemeMargins()
362 return ::GetThemeMargins(m_hTheme, hDC, nPartID, nStateID, nPropID, pRect, pMargins); in GetThemeMargins()
367 ATLASSERT(m_hTheme != NULL); in GetThemeIntList()
368 return ::GetThemeIntList(m_hTheme, nPartID, nStateID, nPropID, pIntList); in GetThemeIntList()
373 ATLASSERT(m_hTheme != NULL); in GetThemePropertyOrigin()
374 return ::GetThemePropertyOrigin(m_hTheme, nPartID, nStateID, nPropID, pOrigin); in GetThemePropertyOrigin()
379 ATLASSERT(m_hTheme != NULL); in GetThemeFilename()
380 …return ::GetThemeFilename(m_hTheme, nPartID, nStateID, nPropID, pszThemeFileName, cchMaxBuffChars); in GetThemeFilename()
385 ATLASSERT(m_hTheme != NULL); in GetThemeSysColor()
386 return ::GetThemeSysColor(m_hTheme, nColorID); in GetThemeSysColor()
391 ATLASSERT(m_hTheme != NULL); in GetThemeSysColorBrush()
392 return ::GetThemeSysColorBrush(m_hTheme, nColorID); in GetThemeSysColorBrush()
397 ATLASSERT(m_hTheme != NULL); in GetThemeSysSize()
398 return ::GetThemeSysSize(m_hTheme, nSizeID); in GetThemeSysSize()
403 ATLASSERT(m_hTheme != NULL); in GetThemeSysBool()
404 return ::GetThemeSysBool(m_hTheme, nBoolID); in GetThemeSysBool()
409 ATLASSERT(m_hTheme != NULL); in GetThemeSysFont()
411 return ::GetThemeSysFont(m_hTheme, nFontID, plf); in GetThemeSysFont()
414 return ::GetThemeSysFont(m_hTheme, nFontID, (LOGFONT*)plf); in GetThemeSysFont()
420 ATLASSERT(m_hTheme != NULL); in GetThemeSysString()
421 return ::GetThemeSysString(m_hTheme, nStringID, pszStringBuff, cchMaxStringChars); in GetThemeSysString()
426 ATLASSERT(m_hTheme != NULL); in GetThemeSysInt()
427 return ::GetThemeSysInt(m_hTheme, nIntID, pnValue); in GetThemeSysInt()
436 ATLASSERT(m_hTheme == NULL); in OpenThemeDataEx()
437 m_hTheme = ::OpenThemeDataEx(hWnd, pszClassList, dwFlags); in OpenThemeDataEx()
438 return m_hTheme; in OpenThemeDataEx()
444 ATLASSERT(m_hTheme != NULL); in DrawThemeTextEx()
445 …return ::DrawThemeTextEx(m_hTheme, hDC, nPartID, nStateID, pszText, cchText, dwTextFlags, lpRect, … in DrawThemeTextEx()
450 ATLASSERT(m_hTheme != NULL); in GetThemeTransitionDuration()
451 …return ::GetThemeTransitionDuration(m_hTheme, nPartID, nFromStateID, nToStateID, nPropID, &dwDurat… in GetThemeTransitionDuration()
459 ATLASSERT(m_hTheme != NULL); in GetThemeBitmap()
460 return ::GetThemeBitmap(m_hTheme, nPartID, nStateID, nPropID, uFlags, &hBitmap); in GetThemeBitmap()
465 ATLASSERT(m_hTheme != NULL); in GetThemeStream()
466 return ::GetThemeStream(m_hTheme, nPartID, nStateID, nPropID, ppvStream, pcbStream, hInstance); in GetThemeStream()
473 ATLASSERT(m_hTheme != NULL); in GetThemeAnimationProperty()
474 …return ::GetThemeAnimationProperty(m_hTheme, iStoryboardId, iTargetId, eProperty, pvProperty, cbSi… in GetThemeAnimationProperty()
479 ATLASSERT(m_hTheme != NULL); in GetThemeAnimationTransform()
480 …return ::GetThemeAnimationTransform(m_hTheme, iStoryboardId, iTargetId, dwTransformIndex, pTransfo… in GetThemeAnimationTransform()
485 ATLASSERT(m_hTheme != NULL); in GetThemeTimingFunction()
486 return ::GetThemeTimingFunction(m_hTheme, iTimingFunctionId, pTimingFunction, cbSize, pcbSizeOut); in GetThemeTimingFunction()
805 else if((m_hTheme != NULL) && ((m_dwExtendedStyle & THEME_EX_THEMECLIENTEDGE) != 0)) in OnNcPaint()
820 return AtlDrawThemeClientEdge(m_hTheme, pT->m_hWnd, hRgnUpdate, NULL, 0, 0); in DrawThemeClientEdge()