Print Page | Close Window

capture keystroke

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=6935
Printed Date: 22 September 2024 at 1:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: capture keystroke
Posted By: dave12
Subject: capture keystroke
Date Posted: 19 April 2007 at 5:30pm
Is there an easy way to capture keystrokes in a property grid item?  I would like something similar to CXTPCustomizeKeyboardPage but as a one line capture of a keystroke (something like Ctrl +N) that I can then associate with a global command that I can handle through a Hook like:

OnHookMessage(UINT nMessage, WPARAM& wParam, LPARAM& lParam)



Replies:
Posted By: Barto
Date Posted: 20 April 2007 at 9:57am
http://www.abyss-online.de/stuff/hotkey.zip - http://www.abyss-online.de/stuff/hotkey.zip
I have made some custom property grid item classes for keyboard customization (hotkey).. try it out, it works for most keys (i think there's some problems for return, tab, escape, and delete)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net