By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,991 Members | 1,737 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,991 IT Pros & Developers. It's quick & easy.

Form.TransparencyKey doesn't work...

P: n/a
VMI
I have a Windows Form and, for its BackgroundImage, I put an all-white
bitmap (opened mspaint, and immediately saved as bmp). Then I set the
TransparencyKey property to White (I also added it in the Form_Load). For
some reason I still can't see "through" the Form. Am I doing something
wrong? The RightToLeftLayout property is set to False.
On the other hand, if I remove the background image and set Form.BackColor
to White, it'll work.
I'm using VS 2005.

Thanks.
Apr 27 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"VMI" <vo******@yahoo.comwrote in message
news:eb**************@TK2MSFTNGP04.phx.gbl...
>I have a Windows Form and, for its BackgroundImage, I put an all-white
bitmap (opened mspaint, and immediately saved as bmp). Then I set the
TransparencyKey property to White (I also added it in the Form_Load). For
some reason I still can't see "through" the Form. Am I doing something
wrong? The RightToLeftLayout property is set to False.
On the other hand, if I remove the background image and set Form.BackColor
to White, it'll work.
Is your display set to more than 24 bits of color? If that's your case,
there's a documented bug that prevents the TransparencyKey from working. See
knowledge base article:
http://support.microsoft.com/default...b;en-us;822495 .

Apr 28 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.