Board index » delphi » Transparrent Splash Form
Matt Baldwin
![]() Delphi Developer |
Sun, 31 Mar 2002 03:00:00 GMT
|
Matt Baldwin
![]() Delphi Developer |
Sun, 31 Mar 2002 03:00:00 GMT
Transparrent Splash Form
I really want to have an image as a splash screen that uses transparency,
but the only way I know how to make a splash screen is to use an image control on a form. So my questions are: 1. Can a form be transparent? If yes, how? And does Delphi support or 2. Can an image be displayed on its own and not on a form? Thanks for any help, |
Eddie Shipma
![]() Delphi Developer |
Sun, 31 Mar 2002 03:00:00 GMT
Re:Transparrent Splash FormIf I were you, I'd check out TSkinForm component on Torry's that uses a unit that I wrote to make a form that is the shape of a bitmap. Of course it uses a TImage component but the form will be in the shape that you want by using SetWindowRgn. You can also check out my article on www.undu.com on Complex Window QuoteMatt Baldwin <nos...@avoid.com> wrote in message Quote> I really want to have an image as a splash screen that uses transparency, |
Earl F. Glyn
![]() Delphi Developer |
Sun, 31 Mar 2002 03:00:00 GMT
Re:Transparrent Splash FormQuoteMatt Baldwin <nos...@avoid.com> wrote in message Quote> I really want to have an image as a splash screen that uses transparency, http://www.efg2.com/Lab/Library/Delphi/Graphics/Algorithms.htm#Graphics Quote> 2. Can an image be displayed on its own and not on a form? but you'd need to do this in an OnPaint for persistence. ___ efg Earl F. Glynn E-Mail: EarlGl...@att.net efg's Computer Lab: http://www.efg2.com/Lab |
Remco de Kort
![]() Delphi Developer |
Mon, 01 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormQuote"Earl F. Glynn" wrote: I haven't tried my luck at form-less programs yet (eeh...) but I guess you could Remco |
Maynard Philbroo
![]() Delphi Developer |
Mon, 01 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormJust the the form for no border, this will remove the Title bar also, then then set the Brush of the form to Bursh.Style := bsClear. place a TPaintBox on the form. have your image in an TBitmap. Use PaintBox.Canvas.Draw(0,0,MyTransparentBitMap); Make sure you have set the Transparent mode for the Bitmap and the correct color for the mask.. With this code you can draw all kinds of shapes on the screen and allow the background to show You may need to trap the WM_ERASEBKGOUND to prevent the PaintBox the become a QuoteMatt Baldwin wrote: |
jbrus
![]() Delphi Developer |
Mon, 01 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormI know what you mean. I too have see and don't know how they did it, a splash screen that is just the image. And the image is very much like a .gif with a transparent background color, but it is more than that. The image transparent area shows all colors through the transparent area. If you find out how to do this please let me know. John Brush QuoteMatt Baldwin wrote: |
Harm
![]() Delphi Developer |
Mon, 01 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormI have an application which does what (I think) you are asking. Add a form to your app, I call mine fSplash. Place a TImage on the form. unit Splash1; interface uses type var implementation {$R *.DFM} procedure TfSplash.FormCreate(Sender: TObject); procedure TfSplash.FormDestroy(Sender: TObject); end. In your project's source, you have to do some juggling to make it show while begin It will take some experimentation to get the image centered in the ellipse. You may want to check the demo that comes with my HarmFade component. It Omaha NE http://www.users.uswest.net/~sharman1/ 'sTile99 - Cool graphics, for free! QuoteMatt Baldwin <nos...@avoid.com> wrote in message Quote> I really want to have an image as a splash screen that uses transparency, |
Jurrian de Val
![]() Delphi Developer |
Tue, 02 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormUse GetHWND api with the window handle as nil. That returns a handle to I believe this is the way to do it. Jurrian de Valk |
Thor-Will
![]() Delphi Developer |
Tue, 02 Apr 2002 03:00:00 GMT
Re:Transparrent Splash FormTry Gabe's Odd Form Assistant. Maybe it will help you. You are free to download it from http://www.informatics.no Best regards QuoteMatt Baldwin <nos...@avoid.com> wrote in message Quote> I really want to have an image as a splash screen that uses transparency, |
1. Problem with splash screen after main form execution
2. splash form?
3. Splash Form
5. Bitmap on Welcome splash form disappears/wrong colors?
6. Help: Loading a very large bitmap on a form during splash screen
7. Newbie Question.....How to Make a Splash Form?
8. Splash screen/ Temporary Form