Click here to Skip to main content
15,914,767 members
Home / Discussions / C#
   

C#

 
GeneralTransparent background Pin
Christian Wikander16-Mar-05 2:54
Christian Wikander16-Mar-05 2:54 
GeneralRe: Transparent background Pin
lmuth16-Mar-05 3:01
lmuth16-Mar-05 3:01 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 3:02
Christian Wikander16-Mar-05 3:02 
GeneralRe: Transparent background Pin
lmuth16-Mar-05 3:13
lmuth16-Mar-05 3:13 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 3:18
Christian Wikander16-Mar-05 3:18 
GeneralRe: Transparent background Pin
lmuth16-Mar-05 3:32
lmuth16-Mar-05 3:32 
GeneralRe: Transparent background Pin
spif200116-Mar-05 3:35
spif200116-Mar-05 3:35 
GeneralRe: Transparent background Pin
Sebastian Schneider16-Mar-05 3:46
Sebastian Schneider16-Mar-05 3:46 
There is an excellent article on "Custom Shaped Forms" in the MSDN. That article deals with Forms taking non-rectangular shapes.

The first part describes masking the Form with a Bitmap (which is not what you are after).

In the second part, though, the author describes the creation of Forms with custom design not dependant on bitmaps, but using GraphicsPath instead.

I am not sure if this is applicable, but if it is, you should be able to "freeform" your controls.

As for painting the controls yourself and having noise on the non-painted areas: You obviously still USE the whole region. Since Windows does some real clever clipping calculations, the painting of these areas is left to the topmost control (which makes sense). If you do not repaint them, they will stay whatever they are.

Cheers
Sid
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 4:09
Christian Wikander16-Mar-05 4:09 
GeneralRe: Transparent background Pin
mav.northwind16-Mar-05 4:56
mav.northwind16-Mar-05 4:56 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 20:36
Christian Wikander16-Mar-05 20:36 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 21:51
Christian Wikander16-Mar-05 21:51 
GeneralRe: Transparent background Pin
mav.northwind16-Mar-05 22:23
mav.northwind16-Mar-05 22:23 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 22:39
Christian Wikander16-Mar-05 22:39 
GeneralRe: Transparent background Pin
mav.northwind16-Mar-05 23:41
mav.northwind16-Mar-05 23:41 
GeneralRe: Transparent background Pin
Christian Wikander16-Mar-05 23:52
Christian Wikander16-Mar-05 23:52 
GeneralC# login page, linkage .. how ? thanks ! Pin
reificap16-Mar-05 1:58
reificap16-Mar-05 1:58 
GeneralRe: C# login page, linkage .. how ? thanks ! Pin
reificap17-Mar-05 14:32
reificap17-Mar-05 14:32 
Generalhtml compare tool Pin
frankDust16-Mar-05 0:56
frankDust16-Mar-05 0:56 
GeneralColor of text in Treeview Pin
Md Saleem Navalur16-Mar-05 0:32
Md Saleem Navalur16-Mar-05 0:32 
GeneralRe: Color of text in Treeview Pin
mav.northwind16-Mar-05 1:00
mav.northwind16-Mar-05 1:00 
GeneralRe: Color of text in Treeview Pin
Md Saleem Navalur17-Mar-05 0:20
Md Saleem Navalur17-Mar-05 0:20 
GeneralImport MFC dll class in C# Pin
Sudhir Mangla15-Mar-05 23:56
professionalSudhir Mangla15-Mar-05 23:56 
GeneralCrossWord puzzle alogrithm Pin
Mohsen Saad15-Mar-05 18:04
Mohsen Saad15-Mar-05 18:04 
GeneralRe: CrossWord puzzle alogrithm Pin
Colin Angus Mackay16-Mar-05 0:12
Colin Angus Mackay16-Mar-05 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.