Windows Title Bar

General FreeBASIC programming questions.
Post Reply
Zooker
Posts: 69
Joined: Jul 10, 2005 1:10
Location: So.IL,USA

Windows Title Bar

Post by Zooker »

SCREEN 20, 32
CLS
BLOAD "StarMap.bmp"
sleep 12000

I am using the above code to put a picture of a night scene on the screen to use as a splash screen. The trouble is I don't like the blue title bar I get
across the top of the screen. How can I get rid of the blue Bar?

Zooker
I3I2UI/I0
Posts: 90
Joined: Jun 03, 2005 10:39
Location: Germany

Post by I3I2UI/I0 »

try

Code: Select all

'FB_Splash.bas ------- by Volta
Dim As Integer breit, hoch, ff
Dim As String dateiname = "StarMap.bmp"
ff = Freefile
Open dateiname For Binary As #ff
  Get #ff, 19, breit
  Get #ff, 23, hoch
Close #ff
Screenres breit, hoch, 32,,8 
Bload dateiname, 0
Sleep 5000, 1

Cls
Screen 20, 32 
Print "verdisch.."
Sleep
End 
Zooker
Posts: 69
Joined: Jul 10, 2005 1:10
Location: So.IL,USA

splash screen

Post by Zooker »

Thank you!
pestery
Posts: 493
Joined: Jun 16, 2007 2:00
Location: Australia

Post by pestery »

Check the "flags details" section within the FB manual for the Screen command. http://www.freebasic.net/wiki/wikka.php ... engraphics
There are a number of both useful and interesting options. These options also work with the ScreenRes command.
Post Reply