EDITTABLES and ENTER KEY (None Specified)
At 01 FEB 1999 04:36:18PM Richard Hunt wrote:
I am using an EDITTABLE for selections (kinda like a popup). I use DBLCLK event for selection. I also use the SPACE bar to select. I want to use the ENTER key.
I tried to use the ENTER key. I tried to set up the ENTER key as a hot key. None of this worked.
At 01 FEB 1999 05:09PM Donald Bakke wrote:
Richard,
I believe the enter key is reserved strictly for navigating the edittable. Unless there is is some fancy way of accessing the sub-classed control and modifying its keystroke behaviour I don't think you'll get this to work the way you want.
At 02 FEB 1999 01:25PM Thomas Dunlop wrote:
Hi Richard,
I'm in the process of getting a definitive answer to whether or not it can be done. In the the meantime, you might want to take a look at the knowledgebase article "Catching a Right Mouse Click, and Other Windows Messages" posted 10/21/97. The hexidecimal for return as it's listed in the windows.h file is:
#define VK_RETURN 0x0D
Tom Dunlop
Revelation Software
At 03 FEB 1999 07:22PM Cameron Purdy wrote:
Richard,
Put the code on a button CLICK event. Set it as the default button. When the user presses enter, it will fire the CLICK event. To make the button "invisible", move it to x=-100 y=-100 (off the screen) and make sure it isn't in the tab order.
Cameron Purdy
Revelation Software