Skip to content

Reformat <return> tag - #11

Merged
kpreisser merged 1 commit into
kpreisser:taskdialogRefactorButtonfrom
RussKie:xmldoc_fix
Feb 26, 2020
Merged

kpreisser merged 1 commit into
kpreisser:taskdialogRefactorButtonfrom
RussKie:xmldoc_fix

Conversation

@RussKie

@RussKie RussKie commented Feb 26, 2020

Copy link
Copy Markdown

No description provided.

@kpreisser
kpreisser merged commit 8f57892 into kpreisser:taskdialogRefactorButton Feb 26, 2020
kpreisser added a commit that referenced this pull request Mar 9, 2020
* Rework the public button API:
- Remove enums TaskDialogResult and TaskDialogButtons
- Replace existing button classes with TaskDialogButton and TaskDialogCommandLinkButton
- Create static "factory properties" that return new instances of TaskDialogButton representing a standard (common) button
- Change static ShowDialog() methods to allow to pass an IEnumerable<TaskDialogButton> and return a TaskDialogButton

Fixes #5

* Use a better way to detect whether a TDN_BUTTON_CLICKED notification was caused by our own code sending a TDM_CLICK_BUTTON message.

* Improve formatting.

* Add property TaskDialogButton.DialogResult that can be used to retrieve the TaskDialogResult value of the button, and add a few CustomN enum values.

* Reformat <return> tag (#11)

* Revert "Add property TaskDialogButton.DialogResult that can be used to retrieve the TaskDialogResult value of the button, and add a few CustomN enum values."

This reverts commit 6a73a75.

* Use local variable.

* Shift the default button assignment to the dialog (#10)

* Shift the default button assignment to the dialog

The original design allowed a user to mark multiple buttons as default.
In this situation there will be a RTE, which is not the best
devex/UX.

Shift assignment of the default button to the dialog. This way the API
are similar to the MessageBox API, and the user is able to assign
onle one button.

If the button doesn't belong to the collection of buttons - there will
be a RTE.

* Resolve a few TODOs.

* Follow-Up: Update public API.

* Revert unintended changes caused by editing the file in VS.

Co-authored-by: Igor Velikorossov <[email protected]>
@RussKie
RussKie deleted the xmldoc_fix branch January 14, 2021 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants