1.Hotkey浏览器
2.Delphi 做游戏热键(HotKey)的源码一个问题!~
Hotkey浏览器
Hotkey浏览器提供了一系列快捷键,解析让用户可以更高效地操作浏览器。源码源码游戏价格多少以下是解析一些常用快捷键的说明:
1. 去除CSS样式:Alt + V + Y + N(或Ctrl + Shift + S + Web Developer’s工具栏)
2. 恢复CSS样式:Alt + V + Y + B
3. 查看源代码:Ctrl + U
4. 查看选中内容的源代码:选取内容,Shift + F,源码东航小程序源码点“Show source code”
5. 智能DOM侦测:Ctrl + Shift + I
6. 启动Firebug:F
7. 添加书签:Ctrl + D
8. 书签:Ctrl + B
9. 历史:Ctrl + H
. 打开刚关闭的解析go语言项目源码标签:CTRL+SHIFT+T
. 全部标签加入书签:CTRL+SHIFT+D
. 返回:Alt + Left Arrow
. 前进:Alt + Right Arrow
. 访问历史中后退一步:Backspace
. 为书签添加关键词:右击书签,选择属性,源码输入合适的解析关键词。保存后,源码你只要在地址栏输入关键词并回车,解析就可以访问书签了。源码
. 跳转到地址栏:Ctrl + L 或 F6
. 回到主页:Alt + Home
. 减小文本字号:Ctrl + -
. 增大文本字号:Ctrl + +
. 快速搜索:/
. 跳转到搜索条:Ctrl + K
. 在标签历史上跳转:ALT + ← (后退),解析 ALT + → (前进)
. 新建标签:Ctrl + T(键盘), 双击标签条(鼠标)
. 关闭当前书签:Ctrl + W(键盘), 中键标签(鼠标)
. 到下一标签:Ctrl + Page up 或 CTRL + Tab
. 到前一标签:Ctrl + Page Dn 或 Ctrl + Shift + Tab
. 在新标签中打开链接:Ctrl + 左击
. 选择标签:Ctrl + [1 - 9]
. 到下一链接:Tab
. 到前一链接:Shift + Tab
. 输入框中显示输入过的文字,或下拉菜单中显示可选项:Alt + ↓
. 打开快速标签视图:CTRL+Q
. 显示已打开标签列表:CTRL+SHIFT+Q
. 转到地址栏:Alt + D
. 在新标签中打开输入的源码matlab 查看函数源码地址:Address Bar in new tab Alt + Enter
. 转到搜索条:Ctrl + E
. 新建标签:Ctrl + T(键盘),Double Click on Tab Bar(鼠标)
. 关闭当前标签:Ctrl + W(键盘),解析Middle Click on Tab(鼠标)
. 到下一标签:Ctrl + Tab
. 到前一标签:Ctrl + Shift + Tab
. 打开feeds:CTRL+J
. 到下一标签:Tab
. 到前一标签:Shift + Tab
通过这些快捷键,源码价位指标公式源码用户可以更快速地完成各种操作,提高工作效率。
Delphi 做游戏热键(HotKey)的一个问题!~
1. 热键需要调用Windows api来实现, RegisterHotkey
The RegisterHotKey function defines a hot key for the current thread.
BOOL RegisterHotKey(
HWND hWnd, // window to receive hot-key notification
int id, // identifier of hot key
UINT fsModifiers, // key-modifier flags
UINT vk // virtual-key code
);
Parameters
hWnd
Identifies the window that will receive WM_HOTKEY messages generated by the hot key. If this parameter is NULL, WM_HOTKEY messages are posted to the message queue of the calling thread and must be processed in the message loop.
id
Specifies the identifier of the hot key. No other hot key in the calling thread should have the same identifier. An application must specify a value in the range 0x through 0xBFFF. A shared dynamic-link library (DLL) must specify a value in the range 0xC through 0xFFFF (the range returned by the GlobalAddAtom function). To avoid conflicts with hot-key identifiers defined by other shared DLLs, a DLL should use the GlobalAddAtom function to obtain the hot-key identifier.
fsModifiers
Specifies keys that must be pressed in combination with the key specified by the nVirtKey parameter in order to generate the WM_HOTKEY message. The fsModifiers parameter can be a combination of the following values:
Value Meaning
MOD_ALT Either ALT key must be held down.
MOD_CONTROL Either CTRL key must be held down.
MOD_SHIFT Either SHIFT key must be held down.
vk
Specifies the virtual-key code of the hot key.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
When a key is pressed, the system looks for a match against all thread hot keys. Upon finding a match, the system posts the WM_HOTKEY message to the message queue of the thread that registered the hot key. This message is posted to the beginning of the queue so it is removed by the next iteration of the message loop.
This function cannot associate a hot key with a window created by another thread.
RegisterHotKey fails if the keystrokes specified for the hot key have already been registered by another hot key.
If the window identified by the hWnd parameter already registered a hot key with the same identifier as that specified by the id parameter, the new values for the fsModifiers and vk parameters replace the previously specified values for these parameters.
See Also
GlobalAddAtom, UnregisterHotKey, WM_HOTKEY
2. 模拟键盘按键用API函数: keybd_event
The keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard driver's interrupt handler calls the keybd_event function.
VOID keybd_event(
BYTE bVk, // virtual-key code
BYTE bScan, // hardware scan code
DWORD dwFlags, // flags specifying various function options
DWORD dwExtraInfo // additional data associated with keystroke
);
Parameters
bVk
Specifies a virtual-key code. The code must be a value in the range 1 to .
bScan
Specifies a hardware scan code for the key.
dwFlags
A set of flag bits that specify various aspects of function operation. An application can use any combination of the following predefined constant values to set the flags:
Value Meaning
KEYEVENTF_EXTENDEDKEY If specified, the scan code was preceded by a prefix byte having the value 0xE0 ().
KEYEVENTF_KEYUP If specified, the key is being released. If not specified, the key is being depressed.
dwExtraInfo
Specifies an additional -bit value associated with the key stroke.
Return Values
This function has no return value.
Remarks
Although keybd_event passes an OEM-dependent hardware scan code to Windows, applications should not use the scan code. Windows converts scan codes to virtual-key codes internally and clears the up/down bit in the scan code before passing it to applications.
An application can simulate a press of the PRINTSCREEN key in order to obtain a screen snapshot and save it to the Windows clipboard. To do this, call keybd_event with the bVk parameter set to VK_SNAPSHOT, and the bScan parameter set to 0 for a snapshot of the full screen or set bScan to 1 for a snapshot of the active window.
See Also
GetAsyncKeyState, GetKeyState, MapVirtualKey, SetKeyboardState