CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  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 offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    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
  •  





Click Here to Expand Forum to Full Width

Featured