G
Guest
Hi,
I'm implementing irregular shaped Windows Forms using the Region property in
..Net 2.0 (I'm not using TransparentKey to account for color depths > 16bpp)
I build the region mask adding 1 pixel high rectangles until all the area I
want to be transparent is covered (this tecnique is presented in several
Internet sites)
Everything works perfectly in XP and Vista. But not in Windows 2000. In
Win2K some areas (not all) of the transparent mask seem to be ignored. I have
compared the list of rectangles built in XP and 2000, and the region is built
exactly the same way. For some reason, Win2K (SP4) renders it differently
than what it should.
Does anyone know of any way to fix this?
Thanks,
Antonio
I'm implementing irregular shaped Windows Forms using the Region property in
..Net 2.0 (I'm not using TransparentKey to account for color depths > 16bpp)
I build the region mask adding 1 pixel high rectangles until all the area I
want to be transparent is covered (this tecnique is presented in several
Internet sites)
Everything works perfectly in XP and Vista. But not in Windows 2000. In
Win2K some areas (not all) of the transparent mask seem to be ignored. I have
compared the list of rectangles built in XP and 2000, and the region is built
exactly the same way. For some reason, Win2K (SP4) renders it differently
than what it should.
Does anyone know of any way to fix this?
Thanks,
Antonio