Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

MB_YESNOCANCEL

gdbgdb Member Posts: 4
Good morning,

I used MB_YESNOCANCEL as a flag in a MessageBox() and, oddly enough, the "Cancel" pushbutton doesn't have a hotkey.

The first letter of "Yes" and "No" appear underscored: okay, I type them and it's done.

"Cancel", marvel, doesn't have a hotkey in the manner of its companions.

I learned by chance the "ESC" key functions as a hotkey for "Cancel", no matter what pushbutton is the default.

An underscored C, notwithstanding, would fit like a glove for "Cancel", making the pushbuttons uniform and more eye-appealing, not to say more aesthetic or attractive, all the three with their corresponding first letter as hotkeys.

Where should I start modifying something?

Best,

Geraldo

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : Good morning,
    :
    : I used MB_YESNOCANCEL as a flag in a MessageBox() and, oddly enough,
    : the "Cancel" pushbutton doesn't have a hotkey.
    :
    : The first letter of "Yes" and "No" appear underscored: okay, I type
    : them and it's done.
    :
    : "Cancel", marvel, doesn't have a hotkey in the manner of its
    : companions.
    :
    : I learned by chance the "ESC" key functions as a hotkey for
    : "Cancel", no matter what pushbutton is the default.
    :
    : An underscored C, notwithstanding, would fit like a glove for
    : "Cancel", making the pushbuttons uniform and more eye-appealing, not
    : to say more aesthetic or attractive, all the three with their
    : corresponding first letter as hotkeys.
    :
    : Where should I start modifying something?
    :
    : Best,
    :
    : Geraldo
    :
    [color=Blue]ESC has always been "Cancel" and that is good. Why change that? By changing that you will break the behaviour of Windows Dialog(s). Windows User always expects the dialogs to be canceled by ESC key.[/color]
Sign In or Register to comment.