PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: asciichart (ASCII charts, WinFBE User Tool)  (Read 276 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8160
  • Windows 10
    • PlanetSquires Software
asciichart (ASCII charts, WinFBE User Tool)
« on: August 18, 2017, 06:59:01 PM »

This is a very simple ASCII chart program that basically displays two PNG images (using Jose's CImageCtx control). You simply click on the image to cycle between the images. The images are stored in the resource file so you don't need to have the actual image disk files with the exe.

Pressing ESC will close the dialog (as does, of course, clicking on the "X" close button).

Attachment has full source code as well as 32 and 64 bit compiled EXE's.

I have this program set up as a User Tool in WinFBE using Ctrl+1 as the hot key accelerator.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2834
    • Josť Roca Software
Re: asciichart (ASCII charts, WinFBE User Tool)
« Reply #1 on: August 18, 2017, 07:47:54 PM »

Works fine in my computer.

If you want easy access to a more advanced tool, Insert a new entry with the name Charmap and use this path: C:\windows\system32\charmap.exe

Bruce Huber

  • FireFly3 User
  • Little Newbie FireFly
  • *
  • Posts: 15
Re: asciichart (ASCII charts, WinFBE User Tool)
« Reply #2 on: December 05, 2017, 06:48:24 PM »

Josť, I like Charmap for grabbing a copy of the character I want, but I also really like a chart with all of the numeric base values of the ASCII characters for when I need to know the values of the characters instead - so I set up both as tools.

But Paul, I'm not in love with your choice of images... you might want to use the images I attached instead.  And, if so, you would probably want to make your window larger also.

Code: [Select]
//=============================================================================
// Generic project resource file
//=============================================================================

//IMAGE_CHART1 RCDATA "ASCIIFULL.PNG"
//IMAGE_CHART2 RCDATA "ASCIIEXTEND.PNG"

IMAGE_CHART1 RCDATA "ASCII_000-127.png"
IMAGE_CHART2 RCDATA "ASCII_extended.PNG"

//=============================================================================
// Manifest
//=============================================================================
1 24 ".\manifest.xml"
Logged