ECN-4717 New method for processing graphics using Microsoft ATL MFC class CImage

Defect Number: 58098

Product: ACUCOBOL-GT

Module: Runtime, Thin Client

Machines Affected: Windows

Known Versions Affected: All

DESCRIPTION:

The AJPG32.dll library used in previous versions of ACUCOBOL-GT to download graphics files is no longer supported by its vendor. This version now uses the Microsoft ATL MFC class CImage to load these file types, and to do the following:

  • Draw BITMAP controls, including handling the TRANSPARENT property, and stretching to fit
  • Print BITMAP images
  • Handle IMAGELIST types, which can be used as the bitmaps in the titles of TAB and TREEVIEW controls
  • Handle BITMAP BUTTON controls
  • Handle WBITMAP-DISPLAY

To provide backward compatibility with previous versions of ACUCOBOL-GT, a new configuration variable, V104-BITMAPS, has been added.

Limitations: You can now use the TRANSPARENT property on all bitmap control types (buttons, check boxes, radio buttons, etc); however, 8-bit (and lower) images might not paint as desired, likely due to a limitation in the Microsoft function TransparentBlt(), which is used to draw images with transparency.
Attention: Bug fixes and enhancements are no longer provided for issues that arise from using the old method of bitmap processing.

For additional information about this new functionality, see the V104_BITMAPS configuration variable topic in your ACUCOBOL-GT documentation..