473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Create NonRectengular Form........

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
4 2733
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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick | last post by:
Loop to create an array from a dynamic form. I'm having trouble with an application, and I'll try to explain it as clearly as possible: 1. I have a form with two fields, say Apples and...
7
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET)...
5
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug...
6
by: Rich | last post by:
Hello, I want to simulate the dynamic thumbnail display of Windows Explorer (winxp) on a form or pannel container. If I place a picture box on my container form/pannel and dimension it to the...
2
by: Melisa | last post by:
Hi, How can i create bitmap of a window form with all its child controls without showing this form? 1. I am trying to create bitmap image of a window form. 2. I am creating a new instance of...
24
by: M O J O | last post by:
Hi, Instead of doing this.... Public Class Form1 Public Shared Sub CreateAndShow() Dim f As New Form1 f.Show() End Sub
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
7
by: chrismaliszewski | last post by:
Hi. I created code which makes dynamically form with bounded controls for all columns. I show it to you below. My problem is, how I have to change this code to create form which record source...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.