#4592: Keyboard navigating alerts ------------------------------+----------------------- Reporter: humdinger | Owner: humdinger Type: enhancement | Status: assigned Priority: normal | Milestone: R1 Component: User Interface | Version: R1/alpha1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ------------------------------+----------------------- Comment (by leavengood): Replying to [comment:4 humdinger]: > I'll look into it. Wouldn't {{{ SetShortcut(index, B_ESCAPE) }}} (with the index being the cancel button) work better? Yeah that would probably be better, for those dialogs which have a Cancel (though IMO dialogs without a Cancel are bad UI design.) > I was wondering what return value a B_CLOSE_ON_ESCAPE flag would produce, which will be analyzed by following code... Sorry I should have told you that, because I did investigate. Basically the return value is -1 if the window is send B_QUIT_REQUESTED (or is otherwise quit.) That is all B_CLOSE_ON_ESCAPE does within BWindow's keyboard handling. -- Ticket URL: <http://dev.haiku-os.org/ticket/4592#comment:5> Haiku <http://dev.haiku-os.org> Haiku - the operating system.