Convert to uppercase(Capital Letter)
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Convert to uppercase(Capital Letter)

  1. #1
    Join Date
    Oct 2008
    Posts
    59

    Convert to uppercase(Capital Letter)

    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..

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Convert to uppercase(Capital Letter)

    From MSDN:
    CString::MakeUpper
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center