In my code I want to convert a CString to uppercase,if it is in lowercase.
Code:
CString nName;
m_cmdtxt.GetWindowText(nName);
The user entered nName to be in Uppercase only when am processing to my project.

From MSDN, I have seen ToUpper() will do it.... But how??

Plz solve it with its source code format..thanking u..