FAQ about the VPI
The VPI (Visual Programming Interface) is an extensive tool for creating windows-based
user interfaces. VPI is a high level operating system independent API (Application
Programming Interface). All VPI features are supported on all GUI platforms: Windows 3.1,
3.11, NT, 95 and OS/2.
The full power of the underlying (native) OS is always available to you. Visual Prolog
is supplied with the definitions and constants necessary to call the MS Windows Win31
native API directly. Most other GUI functions can easily be defined as Global C predicates
by using the C header definition from the SDK help files.
- Unfortunately we still do not supply a standard predicate for this task.
- You can do this using standard Windows API functions sndPlaySound or PlaySound or any
third party library.
- In this case you should provide Global
Predicate declaration.
- Check the APICALL example in VPI/EXAMPLES - it shows how to play WAV files by making a
call to sndPlaySound.
Currently UNICODE is not supported by the Visual Prolog. We plan to support it in one
of the next versions.
However, you might succeed by just using the current Visual Prolog 5.x, since it should be
possible to make resources and calls to the Win32 API which handles UNICODE.
How to update multiple dialog windows?
How to check whether application is
already active?
Can you point me to some
information in the Visual Prolog manuals, online documentation, or example
applications to assist with adding color to windows ?