By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,693 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,693 IT Pros & Developers. It's quick & easy.

Create NonRectengular Form........

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi,
Check out this URL:
http://msdn.microsoft.com/library/de...lstudionet.asp

Cheers
Benny

Jigar Patel wrote:
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.


Nov 20 '05 #2

P: n/a
Cor
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
Nov 20 '05 #3

P: n/a
Hello,

"Jigar Patel" <pa**********@hotmail.com> schrieb:
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.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

P: n/a
"Jigar Patel" <pa**********@hotmail.com> wrote in news:08ce01c37cda
$6****************@phx.gbl:
Hello,
I want to create Nonrectengular form in VB.NET. Just
like Windows Media Player Skins. Not Round,RoundRectengal


In addition to what the others said, try this link:

http://www.bobpowell.net/region_from_bitmap.htm
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.