Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Traping user typing in a window

Status
Not open for further replies.

SmileeTiger

Programmer
Mar 13, 2000
200
US
I have been building a calculator appliation but right now the user either has to click a button or enter numbers directly into an edit box to change their input. Is there a way to 'trap' this information and handle it with my own procedure?

Smilee
 
When some user presses a key the active ( focused ) window receives WM_KEYDOWN, WM_CHAR and WM_KEYUP messages. Maybe you could create your own class for edit box and catch these messages...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top