diff --git a/docs/xml/lcl/lclintf.xml b/docs/xml/lcl/lclintf.xml index 5d2bcb8446..50a06f5c25 100644 --- a/docs/xml/lcl/lclintf.xml +++ b/docs/xml/lcl/lclintf.xml @@ -1456,6 +1456,50 @@ an device context. + + +Gets extended border added by the compositor for the Desktop Window Manager. + + +

+Applies to Windows 10 or later version which support the dwmapi. +

+

+For example: +

+

+If GetWindowRect returns Rect(0, 0, 1280, 1024) on Windows 10, the visible +bounds rect is much smaller, with the difference appearing as if it is not +part of the window (transparent shadow). The "actual" frame is drawn at +Rect(7, 0, 1273, 1017). In this case, this function returns Rect(7, 0, 7, 7). +

+
+ +Added in LCL version 2.4. + + +
+ + +Returns True if the function succeeds. A TRect instance with the +borders added by the compositor for the Desktop Window Manager is returned in +the Borders argument. Positive values indicate that the window rectangle is +smaller than the reported values. If the function fails, the values in Borders +are updated and are not significant. + + + + +A handle to a window. + + + + +TRect instance with the extended border for the control in handle. Relevant +when the return value is True. + + +