TaskDialog: add comments to TTaskDialogFlag definitions.

This commit is contained in:
Bart 2023-08-17 19:05:30 +02:00
parent 90ab2ac4c7
commit 0112fc4456

View File

@ -535,17 +535,31 @@ type
type type
TCustomTaskDialog = class; TCustomTaskDialog = class;
TTaskDialogFlag = (tfEnableHyperlinks, tfUseHiconMain, TTaskDialogFlag = (
tfUseHiconFooter, tfAllowDialogCancellation, tfEnableHyperlinks, //Native Vista+ only
tfUseCommandLinks, tfUseCommandLinksNoIcon, tfUseHiconMain, //Not functional
tfExpandFooterArea, tfExpandedByDefault, tfUseHiconFooter, //Not functional
tfVerificationFlagChecked, tfShowProgressBar, tfAllowDialogCancellation,
tfShowMarqueeProgressBar, tfCallbackTimer, tfUseCommandLinks,
tfPositionRelativeToWindow, tfRtlLayout, tfUseCommandLinksNoIcon,
tfNoDefaultRadioButton, tfCanBeMinimized, tfExpandFooterArea,
tfNoSetForeGround, tfSizeToContent, tfExpandedByDefault,
tfForceNonNative, tfEmulateClassicStyle, tfVerificationFlagChecked,
tfQuery, tfSimpleQuery, tfQueryFixedChoices, tfQueryFocused); tfShowProgressBar, //Native Vista+ only, not fully functional
tfShowMarqueeProgressBar, //Native Vista+ only, not fully functional
tfCallbackTimer,
tfPositionRelativeToWindow,
tfRtlLayout, //Native Vista+ only
tfNoDefaultRadioButton,
tfCanBeMinimized,
tfNoSetForeGround, //Native Vista+ only
tfSizeToContent, //Native Vista+ only
tfForceNonNative,
tfEmulateClassicStyle, //this and following flags: Emulated dialog only
tfQuery,
tfSimpleQuery,
tfQueryFixedChoices,
tfQueryFocused);
TTaskDialogFlags = set of TTaskDialogFlag; TTaskDialogFlags = set of TTaskDialogFlag;
TTaskDialogCommonButton = (tcbOk, tcbYes, tcbNo, tcbCancel, tcbRetry, tcbClose); TTaskDialogCommonButton = (tcbOk, tcbYes, tcbNo, tcbCancel, tcbRetry, tcbClose);