|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Transparent splash screencorrectly on some systems. The Microsoft help says the about the opacity setting: "Windows 2000, Windows Server 2003 family Platform Note: This property has no effect on platforms that cannot display layered windows." and this about transparent areas of forms: "Monitors set to a color depth of greater than 24-bit can display problems with certain parts of the form not being transparent, despite setting of the TransparencyKey property. To avoid this problem, ensure that the monitor's color depth is set to less than 24-bit in the Display control panel. " My XP system is set to 32-bit and I don't seem to have a problem. So basically my questions are: --------------------------------- What systems and/or color depths are problematic for displaying tranparent forms? What is the result of the problem (i.e. exception/ignores setting/etc.) Whats the best way of testing for the color depth of a monitor? I am using vb.net 2003. Thanks Sorry I can't answer your question. I'd like to know too. I know with
my systems I have graphics (lines, etc.) on a live video window. The graphics window is supposed to be transparent but if the colordepth is 24 or 32 bits, all I see is black in the video window and no graphics overlay. If I set it to 16 bits, I get live video with the graphics overlaid as you would expect. Sometimes causes problems when the color depth somehow gets set back to 32 bits. (User complaint: "My camera doesn't work anymore - all I see is black!") What I would like to know is how to get the color depth of the screen/display adapter with vb.net. All I've been able to find are antique code using API calls. Isn't there some new .Net way of finding out the colordepth like Screen.whatever or System.Windows.Forms.something? Antique code examples: http://abstractvb.com/code.asp?A=947 http://www.developerfusion.co.uk/show/268/ Mark Just out of interest Mark, what OS are you using?
I wonder if the problem lies with the win2000 at 24-bit or higher systems and not with XP <haywo***@hotmail.com> wrote in message Show quoteHide quote news:1140105126.581622.47320@g47g2000cwa.googlegroups.com... > Sorry I can't answer your question. I'd like to know too. I know with > my systems I have graphics (lines, etc.) on a live video window. The > graphics window is supposed to be transparent but if the colordepth is > 24 or 32 bits, all I see is black in the video window and no graphics > overlay. If I set it to 16 bits, I get live video with the graphics > overlaid as you would expect. Sometimes causes problems when the color > depth somehow gets set back to 32 bits. (User complaint: "My camera > doesn't work anymore - all I see is black!") > > What I would like to know is how to get the color depth of the > screen/display adapter with vb.net. All I've been able to find are > antique code using API calls. Isn't there some new .Net way of finding > out the colordepth like Screen.whatever or > System.Windows.Forms.something? > > Antique code examples: > http://abstractvb.com/code.asp?A=947 > http://www.developerfusion.co.uk/show/268/ > > Mark > I'm using XP with Service Pack 1 with selective parts of Service Pack 2
(my company rule this with an iron fist)
How is it possible ...
Edanmo Shell Extension: How to Install it? Unmanaged DLL Callback - Program Unexpectedly Quits Carriage Return and Line Feed Syntax need help reading contents of a file into an array...SKYPE ME. tab function in a multiline text box Com+ and asp.net? Moving Rectangle within a PictureBox Control Interface creation in VB.Net 2005 Determine disabled status |
|||||||||||||||||||||||