Computer Science Canada TURING RUN WINDOWS |
| Author: | Boarder16 [ Thu Dec 25, 2003 1:36 am ] |
| Post subject: | TURING RUN WINDOWS |
Matt |
|
| Author: | Tony [ Thu Dec 25, 2003 2:01 am ] |
| Post subject: | |
run window in the shape of a picture weird. Answer is no - the window is a rectangle since you're using Window's GUI/API/whatnot... you dont really have a choice.
You could probly manage to pull that off with C++ though. As for the circle button. Just check for the distance between center of circle and mouse click, and if it's less then the radius of the circle, user clicked inside |
|
| Author: | Boarder16 [ Thu Dec 25, 2003 9:02 pm ] |
| Post subject: | |
Thanks for your help, the window around the picture is becasue i am creating a music player, and i want it to be an odd shape like teh windows one or something, so is there a way to hide teh run windo outline, to fake it so it looks like the picture i load is there on its own, no blue lines or anything.. |
|
| Author: | Tony [ Fri Dec 26, 2003 1:44 am ] |
| Post subject: | |
not in turing. I remember comming across some VB code that makes part of the form transparent But you should remember that turing is intended just to learn the basics of programming. |
|
| Author: | Boarder16 [ Fri Dec 26, 2003 2:31 pm ] |
| Post subject: | |
ok thanks 4 your help.. he prolly won't mind anyway.... I'll still get my 100% 8) |
|