ASCII chars in an EDIT ctrl RRS feed

  • Question

  • How do you get an edit control to display all 256 ascii characters?

    The oldtimey DOS 8 bit charset.

    Wednesday, November 18, 2015 9:27 PM

All replies

  • You should not have any problems to display ASCI chars in an edit control:

    If you want to use the extended ASCII

    you need to use the correct codepage, if I remember correctly it shoudl be 1252.

    Best regards


    Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar.

    • Proposed as answer by Jamles Hez Monday, December 7, 2015 9:56 AM
    Thursday, November 19, 2015 8:11 AM
  • I'm talking about chars(0) to char(255)

    The Wiki page doesn't show all the old timey dos chr()'s

    The EUDC editor that not many know about allows you to alter chr(&h20) and up..

    setfont eom_charset  doesn't show chr(9) it interprets it as a tab but displays all the others 254 chr's.

    Its a MICROSOFT Conspiricy  , so you can't load and see *.exe's

    I need to show all 256 chars and getwindowtext all 256 chars.. all the various fonts all have repetitive chr's for the first 32 chr's

    on windows 2000 NT there was a chinees font that showed all 256 chrs but i can't find it on windows 10.

    Tuesday, December 8, 2015 3:03 AM