[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the dimensions for a theme element on the control with the specified window handle.
Source position: themes.pas line 481
public function TThemeServices.GetDetailSizeForWindow( |
Details: TThemedElementDetails; |
const AWindow: HWND |
):TSize; virtual; |
Details |
|
Identifies the element, part, and state for the requested themed element. |
AWindow |
|
The window handle for the control where the theme element size is used. |
TSize instance with the Width and Height for the specified theme element detail.
Gets the default dimensions for the specified theme element detail. Calls GetDetailSizeForPPI to get the return value for the method. -1 in the Width and Height for the TSize instance means the size for the theme element detail is not known.
Remark: | The handle specified in AWindow is not used is the LCL implementation of the method. It is provided for compatibility with widgetset implementations which use the handle for DPI-aware contexts (Windows). |
Added in LCL version 3.0.
|
Gets the dimensions for a theme element scaled to the specified Pixels per Inch (PPI). |
|
|
Record type with a theme element, part, and state values. |
|
|
Represents elements which can be themed. |
|
Version 4.0 | Generated 2025-05-03 | Home |