⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keyblockhook.htm

📁 键盘钩子程序及控件, C++ Builder 和DELPHI可用
💻 HTM
字号:
<html>
<head>
<title>True Global System Keyboard Hook</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="DESCRIPTION" content="Delphi Keyboard Hook">
<meta name="KEYWORDS" content="delphi,keyboard,hook,global,system,keys,scan,codes,record,windows,source,dll,keyboard hook">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<b><font face="Verdana, Arial, Helvetica, sans-serif" size="4">TCPKeyBlockHook</font></b><font face="Verdana, Arial, Helvetica, sans-serif"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="4">&reg;</font></b> 
<font size="2">NT System  Keyboard Blocking Hook and DLL for Borland Delphi.</font></font> 
<hr noshade size="1">
<font face="Verdana, Arial, Helvetica, sans-serif"><font size="2"><b>Version</b>: 
1.5<br>
<font face="Verdana, Arial, Helvetica, sans-serif"><b>Release Date </b>: 29/03/2005<br>
</font></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b> Delphi Versions: </b>4/5/6/7/8/9/2005<b><br>
</b></font><font size="2"><b>Developer</b>: BITLOGIC Software Solutions <br>
<b>Copyright</b>: BITLOGIC &copy; 2004<br>
<b>E-Mail</b>: <a href="mailto:development@bitlogic.co.uk">development@bitlogic.co.uk</a><br>
<b>Web</b>: <a href="http://www.bitlogic.co.uk">www.bitlogic.co.uk</a></font></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><br>
<b><br>
</b>
<b>
Download: </b><a href="http://www.bitlogic.co.uk/downloads/keyblockhook.zip">keyblockhook.zip</a></font><br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><SPAN class="text_main"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Purchase Online:</b> <a href="https://secure.shareit.com/shareit/checkout.html?productid=213538&language=English">DLL Licence Keys only</a><BR>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Purchase Online:</b> <a href="https://secure.shareit.com/shareit/checkout.html?productid=213539&language=English">DLL Source Code & Licence Keys</a></font></font></font></SPAN><SPAN class="text_main"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><BR>
<BR>
This component is also included in the <A href="http://www.bitlogic.co.uk/products_borland_tcphookpack.htm">Delphi Hook Pack Collection</A>.</font></SPAN><BR>
</font>
<hr noshade size="1">
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Overview</b></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">TCPKeyBlockHook is a Low Level Keyboard Hook which can be used as a Component or Directly as a DLL from.<br>
  within your Delphi Projects. TCPKeyBlockHook can hook into the keyboard driver and capture any character or system key<BR>
  combination and also Block or Disable them from being processed. The Component encapsulates the procedures 
  and<BR> 
  functions
  within the separate DLL and uses Memory Mapped File (MMF) to send a custom message with the keyboard<BR>
  information 
  to the calling application or process.
  You can use this Component and DLL to disable any or all Keyboard Keys. </font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Component Features</b></font></p>
<ul>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Supports Windows 
    NT/2000/XP<b>.</b></font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Ultra small 
    DLL with almost no overhead or impact on system resources.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Simple component 
    with one Event passing all Key state and character information.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Truly Global, 
    System Wide Keyboard Hook on all running Applications.</font></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Disable Keyboard and Block Keyboard events from being processed by windows.</FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Disable Windows System Keys e.g ALT+TAB, CTRL+ESC etc..</FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Select any combination of Keys to Block or Disable. </FONT></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Event Returns 
    converted ASCII characters for installed keyboard.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Event Returns 
    Extended Key names, Cursors, Function Keys etc..</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Event Returns 
    the Repeatcount of any Keys pressed.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Indication if 
    Key Message was generated by a System Selection Menu.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Indication if 
    Key Message was generated by a KeyDown or KeyUp.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Indication if Key Message was Injected via Win32 API call to keybd_event.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Custom message 
    can be set for communication with the DLL.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Install as a 
    Component or use Unit and Functions directly.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Component Usage</b></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">You can use the 
  TCPKeyBlockHook within your project to monitor  keyboard activity, Disable   Keys or to<BR>
  obtain 
  the
state of which Keys are being pressed in real time.</font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Component Installation</b></font></p>
<p><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Note: 
  KeyBlockHook.Dll must be placed within the same directory as your project or system 
  path and also<BR>
  within the folder in which any application uses the Dll.</strong></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">To use as a component, simply install 
  the registration file <font color="#0000CC">CPKeyBlockHookReg.pas</font> as a new 
  component into an existing<BR> 
  or new
  Package. TCPKeyBlockHook can also be created  dynamically by using the CPKeyBlockHook.pas 
  within your projects.<br>
  Always place the <font color="#000099">KeyBlockHook.DLL </font>into the same location 
as your project or anywhere the path can find it. </font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><i>Quick Start 
  Steps:</i></font></p>
<ul>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Place the component 
    into your current project.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Setup the OnKey 
    Event.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set 
    and register the custom UserHookMsg to WM_USER + [1 to 65535]</font></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set  your Licence Code for non-trial use.</FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set DisableKeyboard option. </FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set BlockSystemKeys.</FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set HookInjected for Hooking Injected keybd_event calls. </FONT></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set BlockKeys.</FONT></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Invoke the Function 
    Start_KeyHook. </font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Process the 
    OnKey Events.</font></li>
  <li><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally Update the Hook Operational Settings. </FONT></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Invoke the Function 
    Stop_KeyHook when finished.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Methods, Events 
  &amp; Properties</b></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><i>Methods:</i></font></p>
<ul>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Start_KeyHook 
    </b> Function:Boolean Starts the KeyHook.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Stop_KeyHook 
    </b> Function:Boolean Stops the KeyHook.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>UpdateHook</b> Function:Boolean Updates the Hook with new property settings.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><i>Events:</i></font></p>
<ul>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>OnKey</b> 
    Hook Notification Event of KeyUp and KeyDown Messages.<br>
    TKeyStates = State of the current Keys pressed.<br>
    TKeyNames = Ascii Character and VirtualKey Name for current Key pressed.<BR>
  Blocked = Boolean value indicting if Key was Blocked.<br>
  Injected = Boolean value indicting if Key was Injected via keybd_event call.  </font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><i>Properties:</i></font></p>
<ul>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Enabled</b>: 
    Status of the KeyHook.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>HookLibLoaded</b>: Indication if Hook DLL Loaded successfully.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>LicenceCode</b>: Licence Code string for removal of trial message.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>WindowHandle:</strong> 
    Handle used by Component to receive Messages.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>UserHookMsg:</strong> 
    Custom WM_USER Message for communication with the DLL.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>DisableKeyboard:</strong> Disables all Keyboard input from within Windows.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>BlockSystemKeys:</strong> Disables all System Key Combinations  in Windows.</font></li>
  <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>BlockKeys:</strong> Disable any combination of Keyboard Keys  Globally within Windows.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>keyboardLayout:</b> 
    Currently installed Keyboard Code.</font></li>
  <li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Name:</b> 
    Name of Component.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Licence Keys and Component Source Code</b></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> DLL Licence Keys (for trial notice removal) or Full Delphi Source code
is available to purchase below. <BR>
Purchasing entitles you to Free support and professional developer advice on using the components<BR>
within your projects. </font><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Developer support is provided via E-Mail and DLL component updates are free.</font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Unrestricted DLL &amp; Licence Key <font color="#990000"><b>$19.00 US Dollars</b></font><br>
  Unrestricted DLL &amp; Licence Key <b><font color="#990000">&#8364;17.00 Euro <BR>
</font><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Purchase Online: <a href="https://secure.shareit.com/shareit/checkout.html?productid=213538&language=English"><b>Secure Order</b></a></font><font color="#990000"> </font></b></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">DLL Source Code &amp; Licence Key <font color="#990000"><b>$46.00 US Dollars</b></font><br>
  DLL Source Code &amp; Licence Key <b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font color="#990000">&#8364;</font></b></font><font color="#990000">39.00 Euro <BR>
</font>Purchase Online:</b> <a href="https://secure.shareit.com/shareit/checkout.html?productid=213539&language=English"><b>Secure Order</b></a></font></p>
<hr noshade size="1">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font color="#999999">BITLOGIC Software Developers </font></b><font color="#999999">of Desktop Software and Security Applications, Utilities and Components.</font></font> 
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -