Skip to content

Ignore TaskDialogCommandLinks{,WithGlyph} opts if a task dialog doesn't have custom buttons #131

@nickkhyl

Description

@nickkhyl

Even though the doc says that the corresponding flags are ignored if the cButtons is zero, it doesn't appear to be the case and TaskDialogIndirect fails with E_INVALIDARG.

Therefore, we should just ignore these options instead of converting them to flags if a task dialog doesn't have custom buttons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions