[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
sf_pcx_display Display a PCX file in CUA
------------------------------------------------------------------------------
procedure sf_pcx_display prototype
parameters const char image_file,;
value int x_area,;
value int y_area,;
value int effect,;
value int direction,;
const logical leave_graph,;
const logical wait_certain_time,;
value int key_wait,;
const logical overlay
This function requires the PCXDISP.DLL to be present in the current
directory to work. The DLL contains the code required to display a
PCX image which would be too large to be included in the library.
This example displays TEST.PCX at 10, 10 using effect number 2,
direction number 1. It will leave the screen in graphics mode and
wait 100 seconds before clearing the screen. It also overlays the
current executable like a RUN [SAVE]...
If you pass wait_certain_time as .f., the image will remain on the
screen until the user presses a key.
sf_pcx_display( "TEST.PCX", 10, 10, 2, 1, .t., .f., 100, .t. )
NOTE: If you are currently in CUA mode and run this function, you
will have to reset the font and palette.
UPDATE: Pcx display will now look for the DLL in the directory specified
by the PCXDISP environment variable. You no longer need the
DLL in the current directory.
SET PCXDISP=C:\DOS\
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson