Vcl.Themes.TCustomStyleServices.DrawEdge
Delphi
function DrawEdge(DC: HDC; Details: TThemedElementDetails; const R: TRect;
Edges, Flags: Cardinal; ContentRect: PRect = nil): Boolean; overload; inline; deprecated 'Use DrawEdge with TElementEdges';
function DrawEdge(DC: HDC; Details: TThemedElementDetails; const R: TRect;
Edges: TElementEdges; Flags: TElementEdgeFlags; ContentRect: PRect = nil): Boolean; overload;
C++
bool __fastcall DrawEdge _DEPRECATED_ATTRIBUTE1("Use DrawEdge with TElementEdges") (HDC DC, const TThemedElementDetails &Details, const Winapi::Windows::TRect &R, unsigned Edges, unsigned Flags, Winapi::Windows::PRect ContentRect = (System::Types::PRect)(0x0))/* overload */;
bool __fastcall DrawEdge(HDC DC, const TThemedElementDetails &Details, const Winapi::Windows::TRect &R, TElementEdges Edges, TElementEdgeFlags Flags, Winapi::Windows::PRect ContentRect = (System::Types::PRect)(0x0))/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
Description
Draws the edge or edges of the rectangle that contains the element in the current style.
Call DrawEdge to draw one or more edges of the given element.
Edge
indicates the types of inner and outer edges and Flags
specifies the types of borders.
Note: The first overload of this method is deprecated; use the second overload instead.