{"id":92181,"date":"2015-12-01T07:00:00","date_gmt":"2015-12-01T22:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20151201-00\/?p=92181\/"},"modified":"2019-03-13T12:22:24","modified_gmt":"2019-03-13T19:22:24","slug":"20151201-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20151201-00\/?p=92181","title":{"rendered":"What does Ctrl+Enter mean? It depends on whom you ask"},"content":{"rendered":"<p>One of my colleagues was baffled by why Outlook displayed this message: <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"border: solid 3px #ebebeb;font-family: Segoe UI, sans-serif;width: 25em;color: black;background-color: white\">\n<tr>\n<td COLSPAN=\"2\" ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"#8DC8FB\" STYLE=\"padding: .5ex;font-size: 120%\">Microsoft Outlook<\/td>\n<\/tr>\n<tr>\n<td VALIGN=\"top\" BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">    <font SIZE=\"+4\">&#x26a0;<\/font>     <\/td>\n<td BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">\n<p>    You pressed CTRL + ENTER.     <\/p>\n<p>    Do you want to use CTRL + ENTER as a keyboard shortcut     for sending a message?     <\/p>\n<p>    &#x2610; Do not show this message again.     <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td COLSPAN=\"2\" BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">\n<table ALIGN=\"center\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td ALIGN=\"center\"><span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Yes<\/span> <span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">No<\/span>         <\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>&#8220;I never understood the need for that dialog since I thought <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> meant, by convention, send this message. Then one day a former coworker expressed frustration at the dialog because <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> means soft return. He&#8217;s a few years older so perhaps its a generational thing? I do notice that the various web based email services differ in how they interpret <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd>.&#8221; <\/p>\n<p> Back in the old days, <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> meant &#8220;I&#8217;m hitting Enter, but I just want you to insert the Enter character, not execute anything.&#8221; <\/p>\n<p>From an MS-DOS prompt, <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> inserted a line break but did not execute the command. <\/p>\n<p>In a multi-line edit control on a dialog box, <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> inserts a carriage return into the edit control rather than executing the default button on the dialog box. <\/p>\n<p>But since nobody uses MS-DOS or dialog boxes any more, these historical meanings are gradually being lost, and <kbd>Ctrl<\/kbd>+<kbd>Enter<\/kbd> is pretty much a wide open hotkey that anybody can assign whatever meaning to it they like. (For extra confusion: Some programs use <kbd>Shift<\/kbd>+<kbd>Enter<\/kbd> to insert a carriage return into a field.) <\/p>\n<p>Someday, people won&#8217;t even remember what <kbd>Ctrl<\/kbd>+<kbd>Insert<\/kbd> and <kbd>Shift<\/kbd>+<kbd>Insert<\/kbd> do. (I still use the first one when working in WinDbg, since the modern hotkey doesn&#8217;t work; it means &#8220;break into the debugger.&#8221;) <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maybe it enters a soft return, maybe it sends a command.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-92181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>Maybe it enters a soft return, maybe it sends a command.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/92181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=92181"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/92181\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=92181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=92181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=92181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}