Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 1st, 2003, 11:34 AM
Friend of Wrox
Join Date: Jun 2003
Location: McPherson, Kansas, USA.
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Capture Keystroke in a text box

When using an Edit box is it possible to capture the key stroke. As an example I may want to evaluate the entry in different ways. Perhaps I want to restrict the entries to a numeric value, or convert entries to uppercase ro a number of other function.

What I am looking for is a similar function to the KeyPress event available in Visual Basic. This will allow you to evaluate the ascii value of the key and modify it if you like.

Thanks for your help.

Larry Asher
Larry Asher
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Count in combo box(display results in text box) mboyisis Access 4 April 4th, 2008 07:08 AM
capture check box data into mysql osemollie PHP How-To 0 January 30th, 2006 12:18 PM
how to capture the text in column khautinh C# 0 December 19th, 2003 01:38 PM
How to capture the combobox text ??? thomaz C# 2 September 22nd, 2003 08:11 AM
Cancel a keystroke Kenny Alligood Access 4 June 12th, 2003 10:02 AM

All times are GMT -4. The time now is 11:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.