From: "Justin Szczap" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Transparency Difficulties... Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Tue, 23 May 2000 04:03:22 GMT NNTP-Posting-Host: 24.49.84.244 X-Complaints-To: abuse AT adelphia DOT net X-Trace: news1.news.adelphia.net 959054602 24.49.84.244 (Tue, 23 May 2000 00:03:22 EDT) NNTP-Posting-Date: Tue, 23 May 2000 00:03:22 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I've loaded a bitmap and displayed it with no problem. The bitmap is not full screen. The area of the screen which is not the bitmap, is the 'transparent' pink/purple color. Here's a sample: void display_bitmap() { BITMAP *the_bitmap; PALETTE the_pal; the_bitmap=load_bitmap("bitmap.bmp", the_pal); set_palette(the_bitmap); blit(the_bitmap, screen, 0, 0, 0, 0, 640, 480); destroy_bitmap(the_bitmap); } - JS