   Splash Screen
  I have seen a lota splash screens and they look good on an app.Does anybody know how to do one which is trasparent or one which hasan irregular shape(like some chars ) [in C++,Borland].I think i can do box ones with a dialog with no toolbar so I looking of non-rectangular ones. 
  Use CreateWindowEx to create a borderless window with the style WS_EX_TRANSPARENT specified. Then, in the message handler for WM_PAINT, draw the splash screen image to the screen. For compatability with older versions of windows, you''ll need to use mask and a colour images and use AND / OR rops. TransparentBlt only appeared in Windows 98.Skizz ;  Something with Rgn.Or look up CombineRgn in msdn and the other necessary commands should be there. -CProgrammer ;  I hate splash screens, and you''ll likely find that many users do.  If your including one, its best to have an option to turn it off (as a command line argument, kept in an ini-file, or whatever).Also, you dont need to press enter at the end of a line when posting on the forums, text will automatically be wrapped and is easier to read that way. ;  Try this one...http://www.naughter.com/splasher.htmlGero ;  The problem I am having with a splash screen is to make it appear in the center of the screen... Anyone know how to fix that? ;  Subtract the splash window width dimension from the screen width and divide by 2. Do the same thing for height.That''ll give you the coordinate to position your top left corner.For example, if the screen is 800x600, and your splash screen is 100x100, you''ll get:X = (800-100)/2 = 350Y = (600-100)/2 = 250Which puts your top left hand corner at 350,250, and extends it to 450, 350 ;  Yes, I know, but the resolution is seldom the same from comp to comp... ;  Look up GetSystemMetrics (msdn.microsoft.com) to find out the size of the screen.  For example SM_CXFULLSCREEN and SM_CYFULLSCREEN get you the dimensions of the primary monitor.  [edited by - mauman on May 11, 2004 4:59:56 PM];quote:Original post by Kazgoroth   I hatesplash screens, and you'll likely find that many users do.  If your including one, its best to have an option to turn it off (as a command line argument, kept in an ini-file, or whatever).Also, you dont need to press enter at the end of a line when posting on the forums, text will automatically be wrapped and is easier to read that way.   I think I did that once but on my browser that extended a long way.Any way I will remeber that.Thanks guys i try it out soon. [edited by - FireNet on May 12, 2004 1:15:46 AM]