99985875
所属分类:网络编程
开发工具:Visual Basic
文件大小:64KB
下载次数:0
上传日期:2018-08-20 13:49:21
上 传 者:
EIZ%252524431
说明: ccrphotkey 控件 vb类ccrphotkey 控件及其源代码
(Ccrphotkey control vb class ccrphotkey control and its source code)
文件列表:
Demo\frmMain.log (227, 2005-05-22)
wCCRPHKY.HLP (81929, 1998-08-18)
Demo\Demo.exe (30720, 1998-08-18)
iccrphky.cnt (1546, 1998-08-18)
rccrphky.DEP (2933, 1998-08-18)
Demo\frmMain.frm (3993, 2005-05-22)
Demo\frmMain.frx (76, 2005-05-22)
iCCRPHKY.GID (10851, 2005-05-22)
MCCRPHKY.oca (29696, 1999-01-25)
ccrphky.ocx (69120, 1998-08-18)
Demo\Demo.vbp (1051, 2005-05-22)
Demo\Demo.vbw (53, 2005-05-22)
Demo (0, 2017-10-25)
Common Controls Replacement Project HotKey Control
v.1.00.54 - 14th August 19***
This control provides access to the HotKey control in COMCTL32.DLL.
It was created by Jeremy Adams, a member of the VB Common Controls
Replacement Project, a group aiming to provide separate ActiveX
controls to replace and extend the controls found in COMCTL32.OCX
and create controls that encapsulate the other controls available
in COMCTL32.DLL.
The HotKey control allows a user to press a combination of keys and
the control will display what the chosen key combination was,
converting it to a KeyCode and Shift combination. In addition, the
developer can specify what key combinations are valid.
The CCRP HotKey control allows a user to press a combination of
keys and have the control display the chosen key combination,
converting it to a KeyCode and Shift combination. The developer
can specify what key-combinations (for example ctrl, ctrl+alt,
alt+shift etc.) will be allowed.
This control is not intended to be used as an application or
system hook mechanism to intercept hotkeys pressed by the user
during runtime of an application.
Instead, its purpose is to both provide visual feedback to the
user for the hotkey combination pressed, and to provide to the
developer, in the form of properties, the keycode values returned
from the users interaction with the control. This would be useful
where the developer wanted to provide the means for a user-defined
hotkey assignment during execution of a program, or where the
developer wanted to elicit a hotkey combination from the user
for storage (via the registry) and subsequent reuse when the
application was run again.
This control provides the same visual-feedback functionality as
the 'Shortcut Key' option in the properties dialog (shortcut tab)
of a file shortcut (.lnk file). Once the keycodes have been returned
from the control, it is then developers responsibility to store
the selected hotkey combination, and react to it in the form's
KeyPress event.
New for Release v.1.00 are the Value16 and Value32 properties which can be used in conjunction with the WM_SETHOTKEY message and Desaware's SpyWorks respectively. For more information see the help for these properties.
Included Demos:
A demo is included that demonstrates much of the functionality of
the control.
Registering the control:
Use RegSvr32 or the Browse button in the Components dialog box
within VB5 to register the control. If you get an error whilst
attempting to register ccrphky.ocx it is possible that you do not
have SP2 installed (see note below about SP2 issues).
SP2 issues:
This control uses the apartment threading features found in SP2 and
will not function without SP2 or higher installed.
Help Files:
A Help File is provided with this beta. Videosoft (http://www.videosoft.com)
have kindly provided CCRP with a copy of their VSDOCX software for
documenting ActiveX controls. The included help file was created using VSDOCX.
CCRP Licensing and Distribution Agreement:
You must agree to the following distribution and licensing agreement before
using the control. By using the control you indicate your full agreement to
the following:
Developers:
CCRP controls are provided as freeware to developers who are solely
sponsible for determining the suitability of the controls for their use.
CCRP controls and related files are the property of the Common Controls
Replacement Project, and the CCRP retains the exclusive property rights
to the controls. This agreement grants application developers conditional
permission for their use.
Application developers are free to distribute with their completed
application any required CCRP control. This also extends to include any
demo code that may have been modified in order to achieve the functionality
desired in their application. By using CCRP software, the developer
acknowledges these conditions covering both the use and distribution of
CCRP controls, and their use shall constitute acceptance of this agreement.
Under no circumstance does the control author or the Common Controls
Replacement Project assume any responsibility for the reliability of the
CCRP controls, nor responsibility in the unlikely event of any possible
loss of data that may be incurred from such use.
Distributors:
The CCRP website (http://www.mvps.org/ccrp) and the CCRP newsgroup
(news.mvps.org) are the sole legal distributors of CCRP controls. No
control or portion of any control package (ocx, dll, help file, demo code
or zip) may be posted or distributed via any web site, online service or
BBS, or included on any CD or with any other software media without
explicit written permission from CCRP control lead developer unless the
control is a required part of a completed application being distributed.
In addition, CCRP controls may not be distributed via any fee-based
service or media. Email addresses of the lead developers can be found on
the CCRP Membership page.
The Common Controls Replacement Project and/or the author of this control
reserves the right to stop anyone from using this control at any point if
he wishes.
Support and Updates:
Visit the official CCRP website at http://www.mvps.org/ccrp to:
* obtain updates and other CCRP controls,
* report bugs or suggest improvements,
* obtain technical support through the CCRP newsgroups.
Enjoy!
Jeremy Adams
jeremyadams@hotmail.com
CCRP: http://www.mvps.org/ccrp
近期下载者:
相关文件:
收藏者: