Use chotkeyctrl to add a hotkey for the program to hide the display on the main interface, similar to the boss key. The specific operations are as follows:
1. Obtain the set hotkey and use registerhotkey to register the hotkey. The Code is as follows:
// Obtain the hot key value chotkeyctrl * photk = (chotkeyctrl *) getdlgitem (idc_hotkey1); Word vkey, fsmode
1, Hot Key
The hotkey is a key and a set of keys used to start a program or use a function of a program, and a key can include f1,f2 these functions, or some special keys, such as "Internet" on a Dell keyboard, "
Mail "such as the general keyboard does not have the key, the most common is a number of key combinations, the use of QQ people most familiar with the hotkey is" ctrl+~ "key combination, used to
ThinkPad Series Models When you reinstall the system, or in other cases, you cannot distinguish between the input method's case or the keypad switch when editing the document.
This problem is generally caused by hot key drivers.
Operation Steps:
ThinkPad Series models after reinstalling the system, or in the case of newer drivers such as graphics drivers, switching the case without a case switch when editing the document, o
The Java Native API does not support setting global hotkeys for Applications. To implement a global hotkey, it needs to be implemented in a JNI manner, which involves writing C/C + + code, which is a bit difficult for most javaer who are unfamiliar with C + +. Fortunately, someone from abroad has already implemented it and published it as a third-party Java package, so we can easily set a global hotkey with
1. Virtual keypad to fill in the form more quickly
When it comes to some frequent data entry, the financial staff are more accustomed to using the numeric keypad on the keyboard. If you use a simple keyboard operation without a keypad, a row of data keys can be awkward to operate. If the virtual a digital keypad on th
Qt for the bottom of the system, has not been very good support, such as serial port and port communication, as well as we often use the global hotkey, and so on. Since QT may, for some reason, not support these, we can only write our own code to invoke the system-related APIs.Note that this is a Windows article, which means that the code only supports Windows systems. At the same time, it also indicates that there must be other platforms to write. Bu
As in the previous chapter, the calculator, to the last section, we always have to make the code neat, so that the whole program is very concise, first make a folder to put our custom class library in the?Then we began to tidy up the code inside the Form1, in order to implement the Super hotkey function, we should perfect the Functionmousekeyboardhook this class (because now called Super Hotkey, maybe we ne
Copy Code code as follows:
Non-IE browser call function will automatically return parameter event, through which you can get keyboard
Copy Code code as follows:
Function Hotkey (e)
{
//Judge browser
var ex = navigator.appname;
var a = ex== ' Microsoft Internet Explorer ' Window.event.keycode:e.which;
Alert (a);
Switch (a) {
case is:
window.open (' myhomepage/search.htm ', ' show ')
0. Test environmentVS2015 Professional Edition, dialog-based MFC program1, MFC project SettingsClass Wizard, message->wm_hotkey-> Add handler, OK or edit codeThe following code is generated by the MFC project after execution // -------------------Mfc_testdlg.h afx_msg void Onhotkey (UINT Nhotkeyid, uint nKey1, uint nKey2); // Declares the message handler function // -------------------Mfc_testdlg.cpp On_wm_hotkey () // message map macros, binding messages and corresponding handler functio
Hot Key URL:
Simple understanding is the URL that can be accessed quickly. You can visit your own set of shortcut URLs by pressing the shortcut key (F1-F12).
For example, you can customize the F1 key to se.360.cn, and any time you press F1, you can quickly access se.360.cn
URL alias:
The Address bar to enter the shortcut words, you can access its corresponding URL, so that the commonly used sites do not have to enter the full name.
For example: Custom shortcut word gg, the corresponding URL
Keypad area:
-Reduce the picture
+ Enlarge the picture
* Restore default screen/vertical stretch to 16:9 tv/vertical stretch over 16:9 tv/Zoom to less than wide screen/zoom to wide screen/zoom to Ultimate wide screen
/Set up a-b paragraph repetition
8 Move Up screen
2 Move Down screen
4 Left-shift screen
6 Move the screen right
. Set screen size (50%/100%/150%/200%/default)
Enter window and full screen toggle
Cursor Control key:
↑ Volume i
How to open a notebook keypad? Notebook Digital Keypad Switching
1 actually need to use the digital keypad is not much, plus the top of the notebook keyboard already has a number of keys, but many friends are accustomed to the previous large keyboard digital keypad, so also want to use in the notebook, we know that th
+ Page down: Start screen move to right monitor in multiple monitor settings
Windows key + O: Turn on or off the screen direction lock (if the computer supports automatic screen direction sensing)
Windows key + ': When aligning an application to one side, this hotkey toggles the center of the application on the screen.
Windows key +. : When aligning an application to one side, this hotkey moves the spli
Set the hotkey at the command prompt in Linux
One feature of Linux is its many commands and powerful functions. Frequent command input is not only troublesome, but also requires a large amount of work. Although it can be done by using tab> command supplement, or you can use aliase to simplify the input of a command, but this does not fundamentally solve the problem of too many times of hitting the keyboard.
You can assign a combination of any command
usesWindowsMenus; .....StatementHotkey_key:word;Hotkey_shift:word; procedureWmhotkey (var msg:tmessage); Message Wm_hotkey; ...... functionShiftstatetoword (shift:tshiftstate): Word;BeginIf ssshift in Shift and result: =mod_shift else result: = 0;If Ssctrl in Shift and Result: =result or Mod_control;If Ssalt in Shift and then Result:=result or Mod_alt;End Realize procedureTform1.wmhotkey (var msg:tmessage);Beginif ((Msg.lparamhi = Hotkey_key) and (Msg.lparamlo = Hotkey_shift) ThenBeginDo some
DebianEtch on ThinkpadX31, The hotkey screen displays the configuration-Linux Release Technology-Debian information. The following is a detailed description. 1. Install acpid and load the ibm_acpi Module
Apt-get install acpid
Edit the/etc/modules file and add the module ibm_acpi. Pay attention to occupying a single line. After the system is started, the ibm_acpi module is automatically loaded.
Edit the/etc/modprobe. d/ibm_acpi.modprobe file, add or
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.