Pelles C forum

C language => Tips & tricks => Topic started by: lucindom on June 25, 2010, 10:57:08 PM

Title: Easy Creation of Splash Window (Creando ventana de Inicio Splash)
Post by: lucindom on June 25, 2010, 10:57:08 PM
Hi! to Create an Splash Window, follow this project....
you can divide in 2 source files, to separate the Splash Code.

Enjoy this.

Lucindo from Venezuela.
Thanks Pelles, Excellent Software!.
Title: Re: Easy Creation of Splash Window (Creando ventana de Inicio Splash)
Post by: lucindom on June 25, 2010, 11:03:50 PM
Do you can use the Splash Window to promote the program meanwhile other large time activities are run in the Main_OnCreate.
Use this format:

/// "imgsplash.bmp" is an image with marketing words over the program
LPSPLASH lpsp = SPLASH_Open( "imgsplash.bmp", TRUE, RGB( 255,255,255 ) );
// now run the large consuption time activities:
/////// ....... Load Databases ........................

//////  ........ Initialize BABYGRID Objects .........

/////   ........ Some Calculations......................

// Now, Close the Splash..
SPLASH_Close( lpsp );