[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
gifShowVESA()
Shows a GIF in VESA modes
Syntax:
gifShowVESA ( cFile ) -> lError
cFile : Name of the GIF file
Description:
The GIF can be any size you want. Forget about the 64 kb
limitation.
It only works if a SVGA VESA compatible card exists on the system.
The function does not wait for a key, nor restores the video
mode, so this is left to the user's responsibility. This is
very useful when you want to show various GIF and you don't
want to get text mode between one and the other.
This function works best with GIF of less colors. It has
been tested with GIFs of 640x400x256, 640x480x256, 800x600x256,
1024x768x256 and 1280x1024x256.
Return:
.T. if all has gone well or .F. if the file is not found or the
GIF format is incorrect.
Example:
If IsVESA()
cFile := "f:\xxx\car.gif"
nOldMode := VideoMode()
nNewMode := SearchVESA( cFile )
If nNewMode != Nil
VESAMode( nNewMode )
If gifShowVESA ( cFile )
Inkey(0)
EndIf
VideoMode ( nOldMode )
EndIf
EndIf
See Also:
gifShow256()
SearchVESA()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson