יום שלישי 16 אוקטובר 2007 19:58
I have a windowless application. AllowTransparency= true. In the application, with any control that uses a drop down component (i.e. ComboBox, Menu), the drop down stops working after changing the systems screen resolution. Example. I startup the application. All the menus and combo boxes work fine. I change my monitors resolution and when I run the app again the menus and combo boxes will no longer drop down when they are selected. If I reboot then all is fine. I've noticed that if I change AllowTransparency to false and I now longer have a windowless form then all is fine and I don't get this behaviour. I'm aware of KB article 937106 and I'm not sure if the hotfix would address what I'm seeing. Has anyone else seen this and if so... Is there a workaround other than not using AllowTransparency=true.
יום חמישי 18 אוקטובר 2007 07:35מנחה דיון
Hello, does this happen on every machine? I can’t repro it… Anyway, if you only want a windowless window, not a transparent window, you don’t need to set AllowTransparency to true. Just set WindowStyle to None and ResizeMode to NoResize is enough.
שבת 08 דצמבר 2007 01:20
Also, we fixed several issues with layered windows in 3.5. You may want to download it and try it out.
- הוצע כתשובה על-ידי Shimmy Weitzhandler יום שלישי 24 פברואר 2009 03:06
יום שישי 13 נובמבר 2009 19:53Although this is an old post, I would like to mention that I have .NET 3.5 SP1 installed, Visual Studio 2008, and running Windows XP. I was easily able to reproduce this issue as I have encountered it as well.I hate to say it, but the 3.5 SP1 did not solve this problem.Anyone have news on this bug?
יום שישי 13 נובמבר 2009 20:08Another interesting note about this, I tested the same scenario on a co-worker's machine, and oddly enough his works fine. I'm starting to think it is related to a problem down at the video driver level. I'm running the latest ATI drivers while my coworker is using a Matrox card...
שבת 14 נובמבר 2009 23:29I am also seeing this problem, ATI Mobility Radeon 3400 HD with latest drivers, Win XP, .NET 3.5. Looks like a WPF bug to me, and a big one at that.
יום ראשון 15 נובמבר 2009 15:58Yes, I take back what I said, I believe it's not a driver problem but rather a problem with WPF. Hope we get some feedback on this issue soon.
יום שני 16 נובמבר 2009 20:27Bumping this message. We need to hear from the MSFT about this issue...
שבת 04 אוגוסט 2012 22:02
i got a similar problem with transparent windows.
If "AllowsTransparency" is set to "true" for a WPF window without style maximizing will draw the window over the screen range. We counted 4 pixels over natrual screen border in all directions.
If "AllowsTransparency" is set to "false" the maximizing will be done correctly but it draw a border around the custom window style.
Is it posible to avoid this effect?