cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
allow numbers and ctrl + v only
allow numbers and ctrl + v only
Feb 23, 2018 at 11:49pm UTC
Carat1
(50)
1
2
3
if
(!Char::IsDigit(e->KeyChar) && e->KeyChar != 0x08) { e->Handled =
true
; }
this code disables all the keys besides the numbers. how can i have ctrl + v enabled?
Topic archived. No new replies allowed.