diff --git a/docs/xml/lcl/lcltaskdialog.xml b/docs/xml/lcl/lcltaskdialog.xml
index 8c39ec8d1e..afdc231571 100644
--- a/docs/xml/lcl/lcltaskdialog.xml
+++ b/docs/xml/lcl/lcltaskdialog.xml
@@ -40,6 +40,7 @@ The original file name is SynTaskDialog.pas.
-Please note: TTaskDialogFlag does not include the TDF_SIZE_TO_CONTENT flag allowed in the Windows API. -
-tdfQuery, tdfQueryMasked, and tdfQueryFieldFocused are custom flags, implemented in Pascal code, to handle an input query.
@@ -305,6 +303,10 @@ An emulated task dialog (as opposed to a native one) will handle only tdfUseCommandLinks, tdfUseCommandLinksNoIcon, and tdfQuery flag options. +Modified in LCL version 2.2.6+ for native dialogs on the Windows platform. An explicit dialog width (in pixels) is converted to dialog base units for use in the TaskDialogIndirect Windows API. +
++Modified in LCL 4.0 to provide support on the Windows platform for the +TDF_NO_SET_FOREGROUND and TDF_SIZE_TO_CONTENT flags not implemented in +CommCtrl for FPC versions prior to 3.3.1. +