Create NonRectengular Form........

  • Thread starter Thread starter Jigar Patel
  • Start date Start date
J

Jigar Patel

Hello,
I want to create Nonrectengular form in VB.NET. Just
like Windows Media Player Skins. Not Round,RoundRectengal
etc.... Mean i have one Bmp and i want to create some
picture portion on form. i want to remove all same color
in Bmp and create just like region Form.

Jigar Patel.
 
Hi Jigar,

What was wrong with that nice example you got from Fergus and Herfried,
I find the example Mathew gave you too very nice.

Maybe you think that what you did get was a joke, but that is not, try it,
drop a button and a label on your form, somewhere beneath,
and you will see that it works nice.

The shapes of the sample are of course for fun, Herfried did make its own
bitmap in the code.

Cor
 
Hello,

Jigar Patel said:
I want to create Nonrectengular form in VB.NET. Just
like Windows Media Player Skins. Not Round,RoundRectengal
etc.... Mean i have one Bmp and i want to create some
picture portion on form. i want to remove all same color
in Bmp and create just like region Form.

As mentioned in my previous reply, have a look at the documentation of the
form's 'TransparencyKey' property.
 
Back
Top