Sign in Join
FPDoc Onlineexperiment

TThemeServices.ContentRect function

Member of TThemeServicespublicIn unit Themes

Adjusts the bounding rectangle for a theme element to contain the content area only.

Declaration

pascal
function ContentRect(DC: HDC; Details: TThemedElementDetails; 
 BoundingRect: TRect): TRect; virtual

Description

Modified in version 2.2.6 for the Win32 widgetset to clear all cached theme data when the theme has been changed. Returns the modified content rectangle on success.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.