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!

Only numbers in the textbox

Status
Not open for further replies.

michelleqw

Programmer
Jan 4, 2004
120
DE
Dear readers,

We are working the first time on MFC. We want to fill a textbox with an integer. Only number keys are correct, if an other key is pressed, the textbox must not be filled with that key.

Can Someone give information.

Nice regards,

Michelle.
 
Right click on the edit box and choose properties. You can set it to accept numeric input only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top