Click here to Skip to main content
15,925,661 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Datagrid & Panel Pin
Richard Blythe2-May-07 7:44
Richard Blythe2-May-07 7:44 
QuestionAbout Windows Forms C# .net 2003 Pin
siva.net1-May-07 19:36
siva.net1-May-07 19:36 
AnswerRe: About Windows Forms C# .net 2003 Pin
tantoun1-May-07 21:11
tantoun1-May-07 21:11 
GeneralRe: About Windows Forms C# .net 2003 Pin
Brady Kelly2-May-07 2:22
Brady Kelly2-May-07 2:22 
GeneralRe: About Windows Forms C# .net 2003 Pin
Blumen3-May-07 1:32
Blumen3-May-07 1:32 
QuestionHierarchy & Transparent Controls Pin
CompMan441-May-07 13:09
CompMan441-May-07 13:09 
AnswerRe: Hierarchy & Transparent Controls Pin
Richard Blythe2-May-07 7:34
Richard Blythe2-May-07 7:34 
AnswerRe: Hierarchy & Transparent Controls Pin
Dave Kreskowiak2-May-07 8:18
mveDave Kreskowiak2-May-07 8:18 
CompMan44 wrote:
Unfortunately, when I then tried placing a transparent layer over another layer, it shows the form's background color (here, black) through the transparency, instead of the layer beneath.


This is exactly what it's supposed to do. The color Transparent is anything but. Transparent tells the control's background properties to match those of the parent container. It does NOT make the control Transparent. As you've found out, control-over-control transparency doesn't work the way the term "Transparent" would lead you to believe.

The way around this is to not use controls to draw your graphics. Instead, you should be drawing your graphics to an off-screen buffer and "flip pages" between what's being drawn on and what the user sees, or use DirectX, where you'll have FAR more control over your graphics.


Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Hierarchy & Transparent Controls Pin
CompMan442-May-07 8:50
CompMan442-May-07 8:50 
GeneralRe: Hierarchy & Transparent Controls Pin
Dave Kreskowiak2-May-07 12:02
mveDave Kreskowiak2-May-07 12:02 
Questionrational rose Pin
tantoun1-May-07 8:53
tantoun1-May-07 8:53 
AnswerRe: rational rose Pin
Paul Conrad13-Jul-07 13:46
professionalPaul Conrad13-Jul-07 13:46 
Questionprogress bar on MDI Pin
sarah_malik29-Apr-07 1:17
sarah_malik29-Apr-07 1:17 
AnswerRe: progress bar on MDI [modified] Pin
CompMan441-May-07 13:13
CompMan441-May-07 13:13 
GeneralRe: progress bar on MDI Pin
sarah_malik2-May-07 4:55
sarah_malik2-May-07 4:55 
GeneralRe: progress bar on MDI Pin
Pete O'Hanlon2-May-07 5:12
mvePete O'Hanlon2-May-07 5:12 
AnswerRe: progress bar on MDI Pin
Ch_Shahzad iqbal18-May-07 1:12
Ch_Shahzad iqbal18-May-07 1:12 
QuestionRecommendations for a grid that can be displayed left to right. (Arabic Support) Pin
mejax28-Apr-07 1:26
mejax28-Apr-07 1:26 
QuestionTaskbar icon problem with FormBorderStyle.None Pin
Kashif Iqbal Khan27-Apr-07 7:09
Kashif Iqbal Khan27-Apr-07 7:09 
QuestionHelp textbox Pin
Anka_Ame27-Apr-07 2:11
Anka_Ame27-Apr-07 2:11 
AnswerRe: Help textbox Pin
Arun.Immanuel27-Apr-07 2:16
Arun.Immanuel27-Apr-07 2:16 
QuestionRe: Help textbox Pin
Anka_Ame27-Apr-07 2:37
Anka_Ame27-Apr-07 2:37 
AnswerRe: Help textbox Pin
Arun.Immanuel27-Apr-07 2:57
Arun.Immanuel27-Apr-07 2:57 
GeneralRe: Help textbox Pin
Anka_Ame27-Apr-07 3:04
Anka_Ame27-Apr-07 3:04 
GeneralRe: Help textbox Pin
Arun.Immanuel27-Apr-07 3:27
Arun.Immanuel27-Apr-07 3:27 

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.