Skip to main content

[archive] Message Box - Type 4

  • April 12, 2010
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks

5 replies

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks
I don't think there is a Windows standard for Cancel. I am not sure why, but my .02 is that this is because Cancel is an action thought to be an exception, thus there are no short cut to make sure it is a deliberate action when you select it.

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks
I believe the Escape key activates the Cancel button - at least it does in a test I just did.

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks
Thanks guys ESC worked great.

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks
Thanks guys ESC worked great.

[Migrated content. Thread originally posted on 11 April 2010]

Ok guys simple one (I think).....

We have a message box - type 4 (Yes, No, Cancel), the issue is the Yes and No have short-cut keys (Y and N) that can be pressed but the Cancel does not. I know that I could build my own but I was just wondering if there was a quick way to add the short-cut for the Cancel button?

Thanks
Thanks guys ESC worked great.