Re: Transparent GIF Images, Button Colors

From: Almon B. Strowger (strowger_at_NOSPAM.kook.com)
Date: 06/16/04


Date: Tue, 15 Jun 2004 19:09:23 -0700


Hi,

I'm not sure exactly what you're trying...

But under the hood (in Win32 for Windows CE) all windows
implicitly have the WS_CLIPSIBLINGS and WS_CLIPCHILDREN
styles (You can't turn it off.) So if something that is painted is another
window / control, it can't be transparent--You'd have to explicitly
paint the "background underneath" yourself because when the client
area of the window underneath gets painted, the child's clip area
gets excluded, which can lead to artifacts in the transparent area.
I'm not sure about your button color problems though.

Hope this helps...

Almon B. Strowger
KOOK Pocket Software

"Mike Curry" <news_spam@mjcsoftware.com> wrote in message
news:kJMzc.273563$Ar.68025@twister01.bloor.is.net.cable.rogers.com...
> How come icons, GIF images in Microsoft Visual Studio.Net 2003 for the
> Pocket PC can not go transparent? Also, how come I cannot change the
button
> colours?
>
> I can't even set the background form to transparent...
>
> Any ideas on how to get around this?
>
> Mike
>