Subroutine Library (v10.0)

The Winteracter library contains several hundred Fortran callable routines, covering a wide range of GUI functionality:

Windows
Text Editor
Messages (events)
Menus
Dialogs
Grids
Common Dialogs
Operating System
General
Graphics Primitives
Graphics Text
Graphics Hardcopy/Export
Graphics Import
Graphics Input
Presentation Graphics
Memory Bitmaps
Memory Metafiles
3D Modelling
OpenGL
ODBC Database Interaction
Clipboard Access
Information Functions
Obsolete Routines

Windows

Click here for a list of Winteracter's window handling routines.

  • Create a root window and multiple child windows
  • Hide root window for dialog-based applications
  • Combine windows/menus/toolbars/dialogs
  • Sub-divided status bars easily added
  • Windows can be fixed in size
  • Redirect output text/graphics to any window
  • Scroll, raise, retitle, clear, reposition, resize windows
  • Split a window into sub-windows
Return to full library subroutine summary.

Text Editor

Click here for a list of Winteracter's text editor routines.

  • Edit text in resizable window with scroll bars
  • Font type/size selection
  • Customisable menu
  • Load/save text files of virtually any size
  • Put/get text from character variables
  • Optional command line allowing simulation of `teletype' i/o
  • Optional command line history
  • Edit multiple buffers in one window
  • RTF (Rich Text Format) support under Windows
  • Paragraph and character level style control, in RTF editor windows
Return to full library subroutine summary.

Messages (events)

Click here for a list of Winteracter's message handling routines.

  • Minimal set of message (event) types which need to be processed, including:
    • Mouse button up/down, double-click or scroll
    • Mouse moved
    • Key pressed
    • Push button pressed
    • Menu item selected
    • Window exposed or resized
    • Window close request
    • Dialog field changed
    • Tab changed in tabbed dialog
    • Timer expired
    • Command entered in an editor window command line
Return to full library subroutine summary.

Menus

Click here for a list of Winteracter's menu routines.

  • Add/change/remove text menu on any root or child window
  • Add/change/remove toolbar button menu on any root or child window
  • Up to 4 toolbars on each window
  • Floating (vertical popup) menus
  • Set/get menu item state (checked and/or enabled)
  • Add/change/delete individual menu items
  • Set status-bar prompt for each item
Return to full library subroutine summary.

Dialogs

Click here for a list of Winteracter's dialog routines.

  • Access to various types of dialog controls:
    • Single-line string, integer, real & double precision fields
    • Multi-line string fields
    • Combo boxes and list boxes
    • Push buttons
    • Check boxes and radio buttons
    • Progress bars
    • Track bars
    • Treeviews
    • Spinners on numeric fields
    • Tabbed dialogs ('property sheets')
    • Images
    • Grid controls
  • Set field state (enabled/disabled/read-only/hidden)
  • Field colour control
  • Range checks on numeric fields
  • Modal, modeless and semi-modeless dialogs (latter eliminate need for dialog callback routines)
  • Resize dialogs
Return to full library subroutine summary.

Grids

Click here for a list of Winteracter's grid routines.

  • Powerful spreadsheet-like grid controls can be displayed in a dialog or a resizable window:
  • String, integer, real, double precision, check box and combo box column types
  • Get/put data at column or cell level
  • Cell/column/row colour control
  • Read-only columns/cells
  • Update row/column labels
  • Insert/delete rows
  • Save/load grid contents to/from CSV files
  • Save grid contents as HTML page
  • Sort, search and print
Return to full library subroutine summary.

Common Dialogs

Click here for a list of Winteracter's common dialog routines.

  • File selector
  • Directory selector
  • Colour selector
  • Message boxes
  • Printing dialogs
Return to full library subroutine summary.

Operating System

Click here for a list of Winteracter's operating system routines.

  • Command line arguments
  • Directory manipulation (create, change, delete, get name, list, file size/date information, check existence, count files)
  • Copy, rename and delete files
  • Execute/check/kill external commands/programs
  • Get/set environment variables
  • Get/create/set/delete values in the Windows registry
  • Get/set file attributes
  • Get filetype/program association
  • Platform/compiler independent binary file handling (`stream i/o')
Return to full library subroutine summary.

General Functions

Click here for a list of Winteracter's general routines.

  • Access Windows Help, CHTML or HTML files at file or topic level
  • Send email
  • Mouse cursor manipulation
  • Play sound and movie files
  • Zlib compression
  • Quick sort
  • Save arrays as HTML tables or CSV files
  • RGB/CMY/HLS colour conversion
  • Debugging diagnostics
  • String manipulation
  • Array/function max/min calculation
  • Regional decimal point support
  • Date/time manipulation
Return to full library subroutine summary.

Graphics Primitives

Click here for a list of Winteracter's graphics primitives routines.

  • Lines, polylines, curves
  • Polygons (can contain `holes')
  • Circles, ellipses and arcs
  • Arrows
  • Markers
  • Single points
  • Bit-block move/copy
  • Read pixel values
  • Solid, mixed colour, graduated, hatched area fills
  • Colour selection (8-bit palette or 24 bit RGB models)
  • Line width/join/cap control
  • Broken lines (8 types)
  • Plot mode selection (overwrite/and/or/exclusive-or)
  • Select target drawable (window, memory bitmap or dialog field)
  • Clipping rectangle
  • Device independent user-defined co-ordinate system
  • Rotatable co-ordinate system
  • Proximity checking (e.g. Is a point in a given polygon?)
Return to full library subroutine summary.

Graphics Text

Click here for a list of Winteracter's graphics text routines.

  • Software based vector and outline fonts (100% portable)
  • Hardware fonts (Courier, Times, Helvetica/Arial, Symbol)
  • Any TrueType font in GDI output
  • Monospaced or proportional spacing
  • Rotated text
  • Left/centre/right justification
  • Width/height control
  • Bold, italics, underlined
  • Opaque or transparent
  • Write strings or numbers
  • Formatted text blocks
Return to full library subroutine summary.

Graphics Hardcopy/Export

Click here for a list of Winteracter's graphics hardcopy/export routines.

  • Create graphics via drawing calls in these formats:
    • Microsoft Windows Print Manager (Windows versions only)
    • Microsoft Windows standard/Aldusenhanced metafiles (Windows versions only)
    • PostScript (printer and EPS files)
    • HP-GL/2 (for mono/colour LaserJets and high end DeskJets)
    • HP-GL (pen plotters)
    • HP PCL (mono/colour to 600 dpi)
    • Epson ESC/P and ESC/P2 (mono/colour to 720 dpi)
    • CGM (Computer Graphics Metafile)
    • SVG (Scalabale Vector Graphics, for web browsers)
    • BMP/PCX/PNG bit images (2/16/256/16M colours) and JPEG/JFIF images (16M colours)
    • AutoCAD DXF
  • Print text files in any of the above formats
  • Save raw bit image data arrays in BMP/PCX/PNG/JPEG/ICO/CUR format
  • Save a window, dialog or bitmap in BMP/PCX/PNG/JPEG format
  • Dump a window, memory bitmap or dialog field as a printer bit image
  • Control over various hardcopy options (image size, position, orientation, copies and many more)
Return to full library subroutine summary.

Graphics Import

Click here for a list of Winteracter's graphics import routines.

  • Load BMP/PCX/PNG/JPEG bit images to a window, memory bitmap or dialog field
  • Load BMP/PCX/PNG/JPEG/ICO/CUR bit images to a data array
  • Replay CGM, HP-GL or HP-GL/2 to a window, memory bitmap or dialog. Also WMF or EMF under Windows.
  • Zoom option when importing WMF, EMF, CGM, HP-GL or HP-GL/2.
  • Replay multi-page vector graphics files. Select page(s) to replay.
Return to full library subroutine summary.

Graphics Input

Click here for a list of Winteracter's graphical input routines.

  • Stretch/drag graphical objects
  • Control mouse cursor position and shape
Return to full library subroutine summary.

Presentation Graphics

Click here for a list of Winteracter's presentation graphics routines.

  • Bar charts
  • Histograms
  • High/low plots
  • Pie charts
  • 2D and 3D scatter plots
  • 2D and 3D line plots
  • 2D and 3D function plots
  • 2D line-based contour plots
  • 2D fill-based contour plots
  • 3D surface plots (carpet and stepped styles)
  • 3D volume plots
  • Vector plots
  • Tables of numeric data
  • Error bars
  • Cartesian or Polar co-ordinates
  • Log/linear scaling
  • Axes, graticule, key, scale and label plotting
  • Automatic or user defined scaling
  • Missing data indicator
  • (x,y,z) to grid data filter
  • 2D and 3D primitives allowing plot customisation
Return to full library subroutine summary.

Memory Bitmaps

Click here for a list of Winteracter's memory bitmap handling routines.

  • Create/destroy memory bitmaps
  • Memory bitmaps selectable as target graphics drawable
  • Copy images between bitmaps, windows and dialog fields
  • Get bitmap from program resource
  • Display memory bitmaps in automatically managed viewer windows with scroll bars
  • Copy raw colour data to/from memory bitmaps
  • Load/save bitmaps from/to disk
  • Mirror/rotate/resize bitmaps
  • Copy bitmaps to Windows clipboard
Return to full library subroutine summary.

Memory Metafiles

Click here for a list of Winteracter's memory metafile handling routines.

  • Create/destroy memory metafile in EMF or CGM format (CGM on all platforms. EMF is Windows only)
  • Memory metafiles selectable as target graphics drawable
  • Load/save metafiles from/to disk
  • Play back memory metafiles
  • Copy EMF metafiles to Windows clipboard
Return to full library subroutine summary.

3D Modelling

Click here for a list of Winteracter's 3D modelling routines.

  • Model creation
  • Model view control
  • Modelview matrix manipulation
  • Manage parts within a model
  • Save/load 3D model files
  • 3D text
Return to full library subroutine summary.

ODBC Database Interaction

Click here for a list of Winteracter's ODBC interaction routines.

  • Get/put string and numeric data from/to ODBC data sources
  • Interrogate available sources, tables and columns
Return to full library subroutine summary.

OpenGL Support

Click here for a list of Winteracter's OpenGL support routines.

  • Text routines (Vector fonts on all platforms, True Type fonts under Windows)
  • Drawable selection (window, memory bitmap or dialog field)
  • Front/back buffer selection
  • 8-bit colour mode palette control (Windows only)
Return to full library subroutine summary.

Clipboard Access

Click here for a list of Winteracter's Clipboard Access routines.

  • Put string, bitmap or metafile on the clipboard
  • Retrieve string, bitmap or metafile from the clipboard
Return to full library subroutine summary.

Information Functions

Click here for a list of Winteracter's Information routines.

  • Extensive set of information functions to interrogate state of various library and system parameters, including:
    • 3D modelling
    • Clipboard
    • Database table
    • Device names
    • Dialogs
    • Drawable
    • Editor windows
    • Errors codes and descriptions
    • Filenames
    • Graphics primitives
    • Grid fields/windows
    • Memory bitmaps and metafiles
    • Operating system
    • Presentation graphics
    • Screen size/colours
    • Windows
Return to full library subroutine summary.

Obsolete Routines

Various routines are included which provide backwards compatibility with earlier releases. Mostly, these are routines which have been replaced by superior alternatives in more recent releases.

Return to full library subroutine summary.

For more information email: