Click here to Skip to main content
15,895,740 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have a need to force all character input into a CRichEditCtrl to be uppercase. I do not want to do this via the OnEnChange() ( EN_CHANGE ) function but rather using the PreTranslateMessage() function or the OnKeydown() function. I just don't want the character appearing in the dialog before I change it so it appears to be seamless while typing in the CRichEditCtrl.

Thanks,
Bob
Posted
Comments
super 20-Oct-10 7:15am    
You want a code snippet or facing problem to capture the PretranslateMeesage() function.?
aamswe 30-Oct-10 1:09am    
set property UpperCase of CRichEditCtrl.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900