A dialogue box doesn't have menu bars, tool bars, tool strips, ribbons, or status bars. A dialogue box has one or more buttons near the bottom. Clicking on a button that is labelled Ok, Cancel, Yes, or No normally closes the dialogue but this can sometimes be circumvented e.g. by an error about missing or malformed data, or by saying No in response to a subsequent dialogue that asks, "Are you sure?" Some authorities distinguish dialogue boxes from message boxes by the latter's inability to receive any user input beyond which button was pressed, but they are otherwise the same.
- A dialogue box cannot be maximized or minimized.
- Closing a dialogue box has the same effect as clicking its Cancel button if the dialogue box has a Cancel button, otherwise the No button. If a dialogue box has no such button, it should not be possible to close the dialogue box without clicking a button.
- When the keyboard focus is on a dialogue box that has a Cancel button, pressing the Esc key is equivale