ccrpminilogo.gif (1886 bytes)  HotKey/VB6
 Download       Control List  
  
Designer: Jeremy Adams
Tuesday, January 06, 2004
VB6 COMPILE
Version:
v1.01.0073

Filename:
ccrphky6.zip

Download:
66k (w/demo, help ** )

REQUIREMENTS
Development:
VB6 SP0/1/2

Runtime:
VB6 SP0/1/2 runtime


CONTACT
jeremyadams@hotmail.com
   

OTHER CONTROLS
CCRP Animation, VB6
CCRP Animation, VB5
CCRP HotKey, VB6
CCRP HotKey, VB5
CCRP IP Address, VB6
CCRP IP Address, VB5
CCRP Pager, VB6
CCRP Pager, VB5
CCRP Progress Bar, VB6
CCRP Progress Bar, VB5
CCRP UpDown, VB5
CCRP UpDown, VB5
   

REVISION HISTORY
VB6 version 1.01.0073
July 3, 1999

Version 2.03.107 (VB6)
January 26, 1999

The CCRP HotKey for VB6 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.

CCRP Hotkey Demo (2265 bytes)

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 is the same control used as the 'Shortcut Key' option in the properties dialog/shortcut tab of any file shortcut (.lnk file), providing visual-feedback of the user's hotkey selection. Once the keycodes have been returned from the control, it is then developer's responsibility to store the selected hotkey combination, and react to it in the form's KeyPress event.

The CCRP HotKey Control zip file contains the HotKey control, help file and demo project. The demo illustrates most of the functionality of the control, and how to store and reuse the user's selection.

Note
The versioning policy detailed in CCRP Naming and Versioning Policy for VB5/VB6 Controls and Servers has been applied to this release of the animation control. Specifically, this control has been re-versioned to version 1.x in accordance with the policy.

New in this release

  • Grab handles are now displayed correctly when the control is part of a multiple selection in the IDE.

Features (VB6 compile):

  • No changes. All VB5 features are implemented
        

Release Version 1.00.54

  • 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.

Note: VB6-Compile Help
The methods and properties provided in the Visual Basic 6-compiled version of this control are identical to those found in the VB5 SP2/3 version. Therefore, in order for us to release this control sooner rather than later, the VB5 help is included in the zip with the VB6 control.

This help file has not been updated, so contains references to VB5 ocx-specific items, such as GUID and filenames. Although we normally assure a complete version-specific file is available for each new build, expediency was deemed of greater importance for this control. The help file will be updated at a later date.


VB Common Controls Replacement Project HotKey Control
Copyright © 1998-2004 Jeremy Adams, CCRP
http://ccrp.mvps.org/