Give any shape to your form in vb.net using any bitmap and making the desired colors transparent.
|
||||||
|
Give any shape to your form in vb.net using any bitmap and making the desired colors transparent. There are applications in which we can move the form from any place on the window (not just the title bar). Here is the tutorial on how can we do this. The code explores – how does Windows Operating System handle a Window (we call it ‘form’ in Visual Basic) & then uses the SendMessage API to achieve the promised task. In VB.NET, the fading effect on form can be easily programmed using the ‘Opacity’ property of form. In this tutorial we will discuss the use of this property. Looks very basic? Yes, it is. However, it will surely help beginners and moreover, I have used some stuff like Optional parameters and use of threads (simple use of CurrentThread to pause the application) in the code. This might be of some interest to some of our friends. |
||||||
|
Copyright © 2010 Rahul Vyas - All Rights Reserved. |
||||||
Comments