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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keyboard-Input and Dialog-Boxes

Status
Not open for further replies.

ToKo

Programmer
Apr 9, 2000
7
DE
My Problem is: Theres a MFC-EXE App, a dialog-box with a Static Control on it and nothing else. Now, how can I reply to Keyborad input? The application seems to block every key-stroke. (That's not fair!!)

The Static Control provides only Click and DblClick Events and my dialog box doesn't even recieve the message. In VB there's the KeyPreview Property which allows the form to answer key strokes, but what's it in VC??

Please give a hint...Thanks!
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top