-->

A hot key control is a window that enables the user to enter a combination of keystrokes to be used as a hot key. A hot key is a key combination that the user can press to perform an action quickly. For example, a user can create a hot key that activates a given window and brings it to the top of the z-order. The hot key control displays the user's choices and ensures that the user selects a valid key combination. The following screen shot shows how a hot key control appears in a dialog box after the user presses the Alt key.

Microsoft Word Test. paragraph is a paragraph that begins with a dot or other symbol. Each time the key is pressed, the paragraph formatting. Jul 13, 2011  If you insert the same symbol or special character often, you should use a custom shortcut to bypass the ribbon route and save yourself time. The cursor should be in the Press New Shortcut Key.

Using Hot Key Controls

Key generator for minitool partition wizard. When the user enters a key combination to be used as a hot key, the names of the keys appear in the hot key control. A key combination can consist of a modifier key (such as CTRL, ALT, or SHIFT) and an accompanying key (such as a character key, an arrow key, a function key, and so on).

After the user has chosen a key combination, the application retrieves the key combination from the hot key control and uses it to set up a hot key in the system. The information retrieved from the hot key control includes a flag indicating the modifier key and the virtual key code of the accompanying key.

The application can use the information provided by a hot key control to set up a global hot key or a thread-specific hot key. A global hot key is associated with a particular window; it allows the user to activate the window from any part of the system. An application sets a global hot key by using the WM_SETHOTKEY message. Whenever the user presses a global hot key, the window specified in WM_SETHOTKEY receives a WM_SYSCOMMAND message that specifies the SC_HOTKEY value. This message activates the window that receives it. The hot key remains valid until the application that called WM_SETHOTKEY exits.

A thread-specific hot key generates a WM_HOTKEY message that is posted to the beginning of a particular thread so that it is removed by the next iteration of the message loop. An application sets a thread-specific hot key by using the RegisterHotKey function.

Hot Key Control Messages

Paragraph

After creating a hot key control, an application interacts with it by using three messages: HKM_SETRULES, HKM_SETHOTKEY, and HKM_GETHOTKEY.

An application can send the HKM_SETRULES message to specify a set of CTRL, ALT, and SHIFT key combinations that are considered invalid hot keys. If the application specifies an invalid key combination, it should also specify a default modifier combination to use when the user selects the invalid combination. When the user enters the invalid combination, the system performs a logical OR operation on the invalid combination and the default combination. The result is considered a valid combination; it is converted to a string and displayed in the control.

The HKM_SETHOTKEY message allows an application to set the hot key combination for a hot key control. This message is also typically used when the hot key control is created.

Applications use the HKM_GETHOTKEY message to retrieve the virtual key code and modifier flags of the hot key chosen by the user.

Hot Key Control Notifications

The hot key control does not send any notification codes via the WM_NOTIFY message. It will, however, send the EN_CHANGE notification via the WM_COMMAND message when the user changes the contents of the control.

Default Hot Key Message Processing

This section describes the window messages handled by the window procedure for the pre defined HOTKEY_CLASS window class used with hot key controls.

MessageProcessing performed
WM_CHARRetrieves the virtual key code.
WM_CREATEInitializes the hot key control, clears any hot key rules, and uses the system font.
WM_ERASEBKGNDHides the caret, calls the DefWindowProc function, and shows the caret again.
WM_GETDLGCODEReturns a combination of the DLGC_WANTCHARS and DLGC_WANTARROWS values.
WM_GETFONTRetrieves the font.
WM_KEYDOWNCalls the DefWindowProc function if the key is ENTER, TAB, SPACE BAR, DEL, ESC, or BACKSPACE. If the key is SHIFT, CTRL, or ALT, it checks whether the combination is valid and, if it is, sets the hot key using the combination. All other keys are set as hot keys without their validity being checked first.
WM_KEYUPRetrieves the virtual key code.
WM_KILLFOCUSDestroys the caret.
WM_LBUTTONDOWNSets the focus to the window.
WM_NCCREATESets the WS_EX_CLIENTEDGE window style.
WM_PAINTPaints the hot key control.
WM_SETFOCUSCreates and shows the caret.
WM_SETFONTSets the font.
WM_SYSCHARRetrieves the virtual key code.
WM_SYSKEYDOWNCalls the DefWindowProc function if the key is ENTER, TAB, SPACE BAR, DEL, ESC, or BACKSPACE. If the key is SHIFT, CTRL, or ALT, it checks whether the combination is valid and, if it is, sets the hot key using the combination. All other keys are set as hot keys without their validity being checked first.
WM_SYSKEYUPRetrieves the virtual key code.
Return (red/left circle) and Enter (green/right circle) buttons on a keyboard.

On computer keyboards, the enter key↵ Enter (or the return key↩ return on Macs[1] and most Sun Workstations[2]) in most cases causes a command line, window form, or dialog box to operate its default function. This is typically to finish an 'entry' and begin the desired process, and is usually an alternative to pressing an OK button.

The 'return' key is often also referred to by many American groups[who?] (and even marked) as the 'enter' key, and they usually perform identical functions; however in some particular applications (mainly page layout, word processing and in typewriting), 'return' operates specifically like the carriage return key from which it originates. It normally has an arrow pointing down and left (⏎ or ↵), which is the symbol for carriage return. In contrast, the 'Enter' key is commonly labelled with its name in plain text on generic PC keyboards, or with the symbol ⌤ (U+2324 up arrowhead between two horizontal bars) on many AppleMac keyboards.[3]

The enter key is typically located on the lower right of the numeric keypad, and the return/enter key on the right edge of the main alphanumeric portion of the keyboard, between backspace and the right-hand shift (and/or control) key (as well as below the backslash key on keyboards using a standard ANSI / US-International layout).

The return/enter key can have various physical shapes.[4]

Differences between Enter and Return[edit]

The Commodore 64 (made in 1982) had only the 'return' key.

On some keyboard layouts, the return and enter key are two different keys, an artifact of the differing handling of newlines by different operating systems. As an example, on the Macintosh, the return key is the usual key, while the enter key is positioned at the lower right of the numeric key pad. While using the type tool in Adobe Photoshop, the return key produces a new line while the enter key ends editing mode.

What Key Combination Generates The Paragraph Symbol

On IBM's 3270 and 5250 line of terminals, the Enter key was located to the right of the space bar and was used to send the contents of the terminal's buffer to the host computer. The Return key was located in a more standard location and was used to generate a new line.

Apple also took advantage of this situation to create an editable command line environment called a 'Worksheet' in the Macintosh Programmer's Workshop, where return was used strictly as a formatting key while enter was used to execute a shell command or series of commands in direct mode.

In technical terms, the Macintosh keyboard maps the return key to a carriage return, while the enter key maps to a newline.

Historically, many computer models did not have a separate keypad, and only had one button to function as Enter or Return. For example, the Commodore 64 (manufactured from 1982) had only the 'Return' key.

In Mathematica, the Return key creates a new line, whereas the Enter key (or Shift-Return) submits the current command for execution.

Uses[edit]

In pocket calculator-like programs (for example, Microsoft Calculator for Windows users), the enter key of the numeric keypad acts like the equal to (=) button to obtain the result of the previously entered operations.

Return button of the FLTK showing the Return symbol

In graphical computer applications, the enter or return key is often used to close and submit a form the user is editing. Usually the default 'OK' or 'Save' button on a form is highlighted and sometimes shows a Return symbol, giving a subtle visual clue that the user has the option of clicking the button or simply pressing Enter.

Keystroke For Paragraph Symbol

In modern word processing applications, pressing the return key ends a paragraph and starts a new one. Spacing between the paragraphs can be defined through paragraph styles.

Before computers, on electric typewriters the 'Return' key was kept comparatively large. This is due to the frequency of usage (which also includes the space bar), and therefore, is kept large to reduce the likelihood of finger slips.[citation needed]

See also[edit]

References[edit]

  1. ^'Accessories'. Apple.com. Retrieved 2016-07-16.
  2. ^'Archived copy'. Archived from the original on 2007-07-08. Retrieved 2009-05-12.CS1 maint: archived copy as title (link)
  3. ^Joe Weaks (2005-05-15). 'The Macintosh Biblioblog: Special Key Symbols'. Macbiblioblog.blogspot.com. Retrieved 2016-07-16.
  4. ^'Deskthority Wiki Return Key'.

How To Use Paragraph Symbol

IBM PC keyboard (Windows, US layout)
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScn/
SysRq
Scroll
Lock
Pause/
Break
InsertHomePgUpNum
Lock
DeleteEndPgDn789+
456
123Enter
0
Ins
.
Del
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Enter_key&oldid=949425516'
Coments are closed
Scroll to top