26 references to HTHEME
System.Windows.Forms (26)
System\Windows\Forms\VisualStyles\VisualStyleInformation.cs (2)
154
SetParameters(VisualStyleElement.Window.Caption.Active).
HTHEME
,
170
SetParameters(VisualStyleElement.Window.Caption.Active).
HTHEME
,
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (24)
233
_lastHResult = PInvoke.DrawThemeBackground(
HTHEME
, dc, Part, State, bounds, null);
260
_lastHResult = PInvoke.DrawThemeBackground(
HTHEME
, dc, Part, State, bounds, clipRectangle);
283
HTHEME
,
390
HTHEME
,
420
_lastHResult = PInvoke.GetThemeBackgroundContentRect(
HTHEME
, dc, Part, State, bounds, out RECT rect);
437
_lastHResult = PInvoke.GetThemeBackgroundExtent(
HTHEME
, hdc, Part, State, contentBounds, out RECT extents);
457
_lastHResult = PInvoke.GetThemeBackgroundRegion(
HTHEME
, hdc, Part, State, bounds, &hrgn);
481
_lastHResult = PInvoke.GetThemeBool(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out BOOL value);
493
_lastHResult = PInvoke.GetThemeColor(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out COLORREF color);
505
_lastHResult = PInvoke.GetThemeEnumValue(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value);
520
_lastHResult = PInvoke.GetThemeFilename(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, pFilename, filename.Length);
564
_lastHResult = PInvoke.GetThemeInt(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value);
591
_lastHResult = PInvoke.GetThemePartSize(
HTHEME
, dc, Part, State, null, (THEMESIZE)type, out SIZE size);
606
_lastHResult = PInvoke.GetThemePartSize(
HTHEME
, hdc, Part, State, bounds, (THEMESIZE)type, out SIZE size);
618
_lastHResult = PInvoke.GetThemePosition(
HTHEME
, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out Point point);
633
_lastHResult = PInvoke.GetThemeMargins(
HTHEME
, hdc, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, null, out MARGINS margins);
649
_lastHResult = PInvoke.GetThemeString(
HTHEME
, Part, State, (int)prop, pString, aString.Length);
665
HTHEME
,
688
HTHEME
,
709
_lastHResult = PInvoke.GetThemeTextMetrics(
HTHEME
, hdc, Part, State, out TEXTMETRICW tm);
722
HTHEME
,
756
HTHEME
,
774
return PInvoke.IsThemeBackgroundPartiallyTransparent(
HTHEME
, Part, State);
856
return
HTHEME
.Null;