Non rectangular windows forms
-
Hi, I'm trying to create a windows application which has non rectangular shapes. (Some thing like Media player). There is an article in MSDN, but they mentioned that there are some issues. I'm also facing them. So please advice me on how to do this? MSDN link :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp My mail address is amilacp@gmail.com Thanks, Amila Amila
-
Hi, I'm trying to create a windows application which has non rectangular shapes. (Some thing like Media player). There is an article in MSDN, but they mentioned that there are some issues. I'm also facing them. So please advice me on how to do this? MSDN link :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp My mail address is amilacp@gmail.com Thanks, Amila Amila
To achieve this u have first create a image which contains of the shape u want to give to ur application, and set the outer region with some color (Black), now set the background image of the form to this image, set the transparency key to the color that u have set to the image's outer region i.e. Black, Change the formborderstyle to None, this will work for u. Regards, Pramod
-
To achieve this u have first create a image which contains of the shape u want to give to ur application, and set the outer region with some color (Black), now set the background image of the form to this image, set the transparency key to the color that u have set to the image's outer region i.e. Black, Change the formborderstyle to None, this will work for u. Regards, Pramod
There is an article in MSDN, but they mentioned that there are some issues. I'm also facing them. So please advice me on how to do this? MSDN link :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp From MSDN Note Monitors set to a color depth of greater than 24-bit can have 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. When developing applications that feature this transparency, keep in mind that you will have to make your users aware of this issue. This is the issue i'm facing. Please advice. Amila
-
There is an article in MSDN, but they mentioned that there are some issues. I'm also facing them. So please advice me on how to do this? MSDN link :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp From MSDN Note Monitors set to a color depth of greater than 24-bit can have 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. When developing applications that feature this transparency, keep in mind that you will have to make your users aware of this issue. This is the issue i'm facing. Please advice. Amila
-
Hi, I'm trying to create a windows application which has non rectangular shapes. (Some thing like Media player). There is an article in MSDN, but they mentioned that there are some issues. I'm also facing them. So please advice me on how to do this? MSDN link :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp My mail address is amilacp@gmail.com Thanks, Amila Amila
-
Hi Amila, I read the article you're reading and faced similar problems. I found this article on code project. The author used a technique that gets around this issue. http://www.codeproject.com/dialog/taskbarnotifier.asp[^] Try it out.