RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThemeServices.DrawText Method

Draws text over a themed user interface element.

Pascal
procedure DrawText(DC: HDC; Details: TThemedElementDetails; const S: WideString; R: TRect; Flags: Cardinal; Flags2: Cardinal);
C++
__fastcall DrawText(HDC DC, TThemedElementDetails Details, const BSTR S, TRect R, unsigned Flags, unsigned Flags2);

Call DrawText to draw text over a themed user interface element. The text is drawn using the current Operation System theme constraints. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!