Vcl.Themes.TCustomStyleServices.GetElementRegion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetElementRegion(Details: TThemedElementDetails; const Rect: TRect;
out Region: HRGN): Boolean; overload; inline;
function GetElementRegion(DC: HDC; Details: TThemedElementDetails; const Rect: TRect;
out Region: HRGN): Boolean; overload;

C++

bool __fastcall GetElementRegion(const TThemedElementDetails &Details, const Winapi::Windows::TRect &Rect, /* out */ HRGN &Region)/* overload */;
bool __fastcall GetElementRegion(HDC DC, const TThemedElementDetails &Details, const Winapi::Windows::TRect &Rect, /* out */ HRGN &Region)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices

Description

Determines the region of the element in the current style.

Call GetElementRegion to obtain the region of the element, bounded by the given rectangle.

See Also