CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    6

    How to display special Ascii characters in any control???

    How can I display special characters in some control like TextArea.
    I am using TextArea control.

    I have a character array containing all ascii values.
    But the characters that get displayed are not the actual ones.

    Thanks,

    Onkar



  2. #2
    Join Date
    Aug 1999
    Posts
    7

    Re: How to display special Ascii characters in any control???

    Use the unicode escape sequence ...

    e.g. char c = '\u0000' represents the space character where 0000 is the hex value for a space. You can find many ascii character maps on the net just do a search.

    Van Glass
    http://www.jscape.com


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