Author Topic: Ascii chart  (Read 650 times)

jimg

  • Member
  • **
  • Posts: 177
Ascii chart
« on: May 28, 2017, 12:57:36 PM »
With the last update to windows 10, the graphic ascii chart I've used for years as a quick reference is all fuzzy.  Rather than try to fix the problem, I just made a quickie out of an old program to show an ascii chart in a toolwindow.   Released to the public domain for all uses public and private.
All menus are in the right-click context menu.  Maybe you can get some use out of it, even if it's only a laugh at my coding style :)


Fixed terminal font problem.  Other minor changes
« Last Edit: June 18, 2017, 11:48:42 PM by jimg »

jj2007

  • Member
  • *****
  • Posts: 7453
  • Assembler is fun ;-)
    • MasmBasic
Re: Ascii chart
« Reply #1 on: May 28, 2017, 05:14:06 PM »
Works fine, and there is nothing wrong with your coding style :t

felipe

  • Member
  • **
  • Posts: 249
  • Yeah, assembly is the best!
Re: Ascii chart
« Reply #2 on: May 30, 2017, 03:36:54 AM »
I did like it, i think it's a good job. The style it's personal (at least when you work by your own and not in some team). Thanks for share.  :icon14: :icon14:
Programmer from the keyboard...

jimg

  • Member
  • **
  • Posts: 177
Re: Ascii chart
« Reply #3 on: June 18, 2017, 06:32:50 AM »
Fixed terminal font auto switch to wrong font problem.
Removed superfluous push esi.
Fixed select fixed spacing font.
Other minor cleanup.

felipe

  • Member
  • **
  • Posts: 249
  • Yeah, assembly is the best!
Re: Ascii chart
« Reply #4 on: June 18, 2017, 08:15:11 AM »
Fixed terminal font auto switch to wrong font problem.
Removed superfluous push esi.
Fixed select fixed spacing font.
Other minor cleanup.

That's great,   :icon14:
are you going to upload it?
Programmer from the keyboard...

jimg

  • Member
  • **
  • Posts: 177
Re: Ascii chart
« Reply #5 on: June 18, 2017, 09:45:57 AM »
I updated the one in the first post.

FORTRANS

  • Member
  • ****
  • Posts: 941
Re: Ascii chart
« Reply #6 on: June 18, 2017, 10:22:07 PM »
Hi,

   Runs well with W2k and Win98.

Regards,

Steve N.

jj2007

  • Member
  • *****
  • Posts: 7453
  • Assembler is fun ;-)
    • MasmBasic
Re: Ascii chart
« Reply #7 on: June 18, 2017, 11:38:23 PM »
I updated the one in the first post.

Problem with the vertical scrollbar hiding the a-z column persists (Win7-64). Four pixels extra would be enough:

        inv CreateWindowEx, WS_EX_TOOLWINDOW or WS_EX_TOPMOST , soff("RichEdit20A"),soff("Ascii"),
                WS_POPUP or WS_SIZEBOX or \
                WS_VISIBLE or ES_MULTILINE or ES_NOHIDESEL or ES_WANTRETURN or\
                ES_SAVESEL or WS_CLIPSIBLINGS or ES_READONLY or\
                WS_HSCROLL or ES_AUTOHSCROLL or WS_VSCROLL or ES_AUTOVSCROLL,
                0,0, 335, 604, 0, 0, hWin, NULL

jimg

  • Member
  • **
  • Posts: 177
Re: Ascii chart
« Reply #8 on: June 18, 2017, 11:49:17 PM »
Done.  Thanks :)