473,465 Members | 4,823 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Non-rectangular Forms

dln
Could someone point me to a good reference point (books, websites, etc...)
that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in
any of the .net languages)? Ideally, I would like to learn how to create
non-rectangular main form, similar to Windows Media Player.

Thanks.
Nov 15 '05 #1
5 1733
Look into SetWindowRgn and it's C# counterpart.

dln wrote:

Could someone point me to a good reference point (books, websites, etc...)
that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in
any of the .net languages)? Ideally, I would like to learn how to create
non-rectangular main form, similar to Windows Media Player.

Thanks.

Nov 15 '05 #2
Hi, dln,

You might find the following article useful:

http://msdn.microsoft.com/library/en...lstudionet.asp

Greetings
Martin
"dln" <dn**********@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
Could someone point me to a good reference point (books, websites, etc...)
that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in
any of the .net languages)? Ideally, I would like to learn how to create
non-rectangular main form, similar to Windows Media Player.

Thanks.

Nov 15 '05 #3
dln
Fantastic! Thanks for the link.

"Martin Dechev" <de*******@hotmail.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
Hi, dln,

You might find the following article useful:

http://msdn.microsoft.com/library/en...lstudionet.asp
Greetings
Martin
"dln" <dn**********@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
Could someone point me to a good reference point (books, websites, etc...) that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in any of the .net languages)? Ideally, I would like to learn how to create non-rectangular main form, similar to Windows Media Player.

Thanks.


Nov 15 '05 #4
There are issues with the transparency when the color depth of the desktop
is set to high/true color, so you might need to test a lot.

Greetings
Martin
"dln" <dn**********@hotmail.com> wrote in message
news:eD**************@tk2msftngp13.phx.gbl...
Fantastic! Thanks for the link.

"Martin Dechev" <de*******@hotmail.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
Hi, dln,

You might find the following article useful:

http://msdn.microsoft.com/library/en...lstudionet.asp

Greetings
Martin
"dln" <dn**********@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
Could someone point me to a good reference point (books, websites, etc...) that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in any of the .net languages)? Ideally, I would like to learn how to create non-rectangular main form, similar to Windows Media Player.

Thanks.



Nov 15 '05 #5
Lots of good drawing information here:
http://www.bobpowell.net/gdiplus_faq.htm
"dln" <dn**********@hotmail.com> wrote in message
news:eZ****************@TK2MSFTNGP10.phx.gbl...
Could someone point me to a good reference point (books, websites, etc...)
that will show me how to create non-rectangular Windows forms using C#
(although I could probably figure things out if the code examples were in
any of the .net languages)? Ideally, I would like to learn how to create
non-rectangular main form, similar to Windows Media Player.

Thanks.

Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.