G
Guest
Hello,
I need to create a button that would be opaque and "see thru" over everything (applications, desktop) but the form should not be visible. I was able to achive that on one PC but the same steps don't work on the other.
I am running: Windows 2000, Service Pack 4, Two PCs (A and B for clarity)
...NET framework 1.1.4322.573
All steps are identical on PC A and B
Steps:
1) Create new C# projects
2) Add button to the form
3) Change color of the button
4) In form’s property change “TransparencyKey†to “BackColorâ€
If you run app now, the form is transparent (doesn't show) but the button is not
(works the same on PC A and B). Good!
5) if you change “Opacity†to something other than 100% the button becomes opaque on A and B. Good!
Form doesn't show on A (good) but it starts to show on B (bad).
Exe test:
1) build an exe on PC A
2) run it on A – works fine (button appears, form does not)
3) run it on B – the form starts to show
4) build an exe on PC B
5) run it on A – works fine (button appears, form does not)
6) run it on B – the form starts to show
Why is it different on two PCs that supposedly have the same setup?
And how do I stop the form from showing up on PC B?
Please help,
Lina
I need to create a button that would be opaque and "see thru" over everything (applications, desktop) but the form should not be visible. I was able to achive that on one PC but the same steps don't work on the other.
I am running: Windows 2000, Service Pack 4, Two PCs (A and B for clarity)
...NET framework 1.1.4322.573
All steps are identical on PC A and B
Steps:
1) Create new C# projects
2) Add button to the form
3) Change color of the button
4) In form’s property change “TransparencyKey†to “BackColorâ€
If you run app now, the form is transparent (doesn't show) but the button is not
(works the same on PC A and B). Good!
5) if you change “Opacity†to something other than 100% the button becomes opaque on A and B. Good!
Form doesn't show on A (good) but it starts to show on B (bad).
Exe test:
1) build an exe on PC A
2) run it on A – works fine (button appears, form does not)
3) run it on B – the form starts to show
4) build an exe on PC B
5) run it on A – works fine (button appears, form does not)
6) run it on B – the form starts to show
Why is it different on two PCs that supposedly have the same setup?
And how do I stop the form from showing up on PC B?
Please help,
Lina