Navigation  without Java Scripts

The VPI Directory

The VPI sub-directory contains the bindings to Visual Prolog's portable Graphic Programming Interface. It is divided into sub-directories with include files, examples and a library sub-directory which itself is divided into sub-directories for each supported platform:

File Purpose
[INCLUDE] This directory contains the header files (.CON, .DOM, .PRE) for the VPI and VPI text editor; its subdirectories contain header and .PRO files for the VPI tool packages.
[LIB] The library files for the VPI.
[EXAMPLES] Subdirectories of this directory contain examples illustrating parts of the VPI. Most of the examples can be build and run under 32-bit Windows, 16-bit Windows, OS/2 PM. Just load the correspondent project <ProjectName>.PRJ file into the VDE.
[PROGRAMS] A few demonstration programs: Towers of Hanoi, symbolic differentiation, a little database example, sentence analyzing, and GEOBASE, which is an example of a natural language interface to a geographic database, etc.
[TOOLEXAM] Subdirectories of this directory contain examples illustrating VPI packages. Most of the examples can be build and run under 32-bit Windows, 16-bit Windows, OS/2 PM. Just load the correspondent project <ProjectName>.PRJ file into the VDE.

The VPI\EXAMPLES directory.

File Illustrates
[APICALL] How to call API functions from Visual Prolog.
[CLASS] how to create and use custom controls in Visual Prolog.
[CLIPBRD] how to handle the clipboard
[COLORS] Color handling using the VPI
[CONTROLS] create, destroy, enable, disable, move etc. controls
[CTLCOLOR] how to set colors to edit controls.
The example works under Windows NT only. 
[CURSOR] create and handle cursors
[DDE] using DDE under Windows.
[DLL] Using Dynamic-Link Libraries (DLL) under Windows
[DRAWING] handle all the drawing primitives
[EASYWIN] The EasyWin target
[EDITOR] How to create an Application handling multiple text editors
[EVENTS] A good test example for understanding events
[FONT] How to set and change fonts
[HELP] How to create on-line help
HOOK How to show OS native messages in Visual Prolog
[HYPDEMO] An example with the Hypertext editor
[LISTBOX] How to handle list boxes
[MAPPING] How to do panning, scaling and zooming in the VPI
[MDIWIN] This MDI mode example can be used only under Windows. The example demonstrates how to change the standard "Windows" submenu items with user defined items.
[METAFILE] How to handle metafiles
MSCOM How to use COM components from Visual Prolog programs
[PICTDRAW] Some smart picture drawing capabilities
[PICTURE] How to do picture masking
[PRINT] How to print graphics
[PRINTTXT] How to print text files
[RICHEDIT] How to use Windows' custom control RichEdit in Visual Prolog
[RUNAPPL] How to run external applications from VPI programs
[RUNTIMER] How to use timers
[SPEED] A example to test the speed of various VPI operations
[SPRITES] Demo of Sprite code in VPI
[SUBCLASS] How to bind event handler with the edit control
[SWEEP] How to handle mouse move events
[WIN32CTL] How to handle 32-bit Windows controls

The sub-directories in the VPI\INCLUDE directory.

File Purpose
[AAPLAY] Autodesk Animation Players
[BUILD] Build Package. Provides a possibility to integrate the Prolog Compiler and Linker into an application.
[BMPCTL] Bitmap control
[DATE] Date module is a collection of predicates for conversion of different date and time formats into each other.
[DATECUST] Date Module
[DIALOG] Dialog Package
[DLGDIR] Directory Browser Dialog
[DLGCOLOR] Color Select Dialog
[GREP] Search for a string in files
[GRID] Grid Custom Control
[MAPCTL] Map Custom Control
[MESSAGES] Message Window Package
[OWN_DRAW] Ownerdrawing Package
[PALETTE] Palette Dialog
[PROGRESS] Progressbar Custom Control. It can be used for graphic representation of dynamic scaling.
[PROPERTY] Property Editor
[REPORT] Report Engine
[SETUP] A setup tool
[STARTUP] Startup example
[SYSTEST] A little dialog with a memory watcher
[TABDLG] About designing tabbed dialogs
[TABLEED] Table Editor Custom Control
[TEMPLATE] Template directory can be used as a template for a user tool. Just rename it and put your files in this directory.
[TOOLBARS] How to handle various toolbars
[TREE] Tree Package
[TREEBRWS] Tree Browser
[VALUESET] About dialogs with valueset