Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VbMsgBoxStyle.vbCancelTryAgainContinue and VbMsgBoxResult.vbTryAgain/vbContinue #568

Closed
Kr00l opened this issue Dec 15, 2021 · 3 comments
Closed

Comments

@Kr00l
Copy link
Collaborator

Kr00l commented Dec 15, 2021

Is your feature request related to a problem? Please describe.
Enhancing the MsgBox function by adding additional enum constants.

Describe the solution you'd like
Add vbCancelTryContinue (VbMsgBoxStyle)

Const MB_CANCELTRYCONTINUE As Long = 6
Const vbCancelTryAgainContinue = MB_CANCELTRYCONTINUE

and also add return values (VbMsgBoxResult)

Const IDTRYAGAIN As Long = 10, IDCONTINUE As Long = 11
Const vbTryAgain = IDTRYAGAIN
Const vbContinue = IDCONTINUE

Describe alternatives you've considered
n/a

Additional context
n/a

@WaynePhillipsEA
Copy link
Collaborator

WaynePhillipsEA commented Dec 15, 2021

Yes, this is a simple one. Supported on Win 2000 / XP onwards. My only question; shouldn't it be vbCancelTryAgainContinue? I would've preferred vbCancelRetryContinue, but vbTryAgain <> vbRetry

@Kr00l
Copy link
Collaborator Author

Kr00l commented Dec 15, 2021

Yes, this is a simple one. Supported on Win 2000 / XP onwards. My only question; shouldn't it be vbCancelTryAgainContinue? I would've preferred vbCancelRetryContinue, but vbTryAgain <> vbRetry

Yes.vbCancelTryAgainContinue is better.

@Kr00l Kr00l changed the title VbMsgBoxStyle.vbCancelTryContinue and VbMsgBoxResult.vbTryAgain/vbContinue VbMsgBoxStyle.vbCancelTryAgainContinue and VbMsgBoxResult.vbTryAgain/vbContinue Dec 15, 2021
@WaynePhillipsEA
Copy link
Collaborator

This is now available in v0.13.37. Thanks!

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

No branches or pull requests

2 participants