The way I did it was subclass CEdit then enable the OnPreTranslate() function. In that function you can check if the key is the , and if it is just return (I think TRUE) so that it gets ignored. I don't have a compiler with MFC to verify, but should be close.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343