Click here to Skip to main content
15,889,879 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionImaginary number Pin
ncjlee4-Sep-07 2:42
ncjlee4-Sep-07 2:42 
AnswerRe: Imaginary number Pin
Luc Pattyn4-Sep-07 3:12
sitebuilderLuc Pattyn4-Sep-07 3:12 
GeneralRe: Imaginary number Pin
ncjlee4-Sep-07 3:26
ncjlee4-Sep-07 3:26 
AnswerRe: Imaginary number Pin
Thomas Stockwell5-Sep-07 8:02
professionalThomas Stockwell5-Sep-07 8:02 
AnswerRe: Imaginary number Pin
DigiOz Multimedia5-Sep-07 10:11
DigiOz Multimedia5-Sep-07 10:11 
QuestionDirectX Pin
plural4-Sep-07 2:26
plural4-Sep-07 2:26 
AnswerRe: DirectX Pin
Christian Graus4-Sep-07 3:38
protectorChristian Graus4-Sep-07 3:38 
QuestionSemi Transparent Controls Pin
errorfunktion4-Sep-07 1:37
errorfunktion4-Sep-07 1:37 
Hi,

If you paint on a form using a color with alpha level of less then 255 the form background is partially visible. I was trying to achieve the same effect with controls.

I have a control derived from the control class. I have used this code:

SetStyle(ControlStyles.SupportsTransparentBackColor)
BackColor = Color.Transparent

and the foreground is painted with say: color.fromarg(50,255,0,0)

This works nicely with graphics that I have painted on the form background it is visible through the control. But other controls with a lower Z order should logically be visible through the control as well but they are not.

Any thoughts on how to get it to work?

thanks,

Gary

AnswerRe: Semi Transparent Controls Pin
Dave Kreskowiak4-Sep-07 2:17
mveDave Kreskowiak4-Sep-07 2:17 
GeneralRe: Semi Transparent Controls Pin
errorfunktion4-Sep-07 3:21
errorfunktion4-Sep-07 3:21 
GeneralRe: Semi Transparent Controls Pin
Tom Deketelaere4-Sep-07 3:45
professionalTom Deketelaere4-Sep-07 3:45 
GeneralRe: Semi Transparent Controls Pin
errorfunktion4-Sep-07 3:57
errorfunktion4-Sep-07 3:57 
GeneralRe: Semi Transparent Controls Pin
Dave Kreskowiak4-Sep-07 4:29
mveDave Kreskowiak4-Sep-07 4:29 
GeneralRe: Semi Transparent Controls Pin
errorfunktion4-Sep-07 13:23
errorfunktion4-Sep-07 13:23 
GeneralRe: Semi Transparent Controls Pin
Dave Kreskowiak4-Sep-07 15:46
mveDave Kreskowiak4-Sep-07 15:46 
GeneralSemi Transparent Controls, Works! Pin
errorfunktion5-Sep-07 0:28
errorfunktion5-Sep-07 0:28 
GeneralRe: Semi Transparent Controls, Works! Pin
Dave Kreskowiak5-Sep-07 2:09
mveDave Kreskowiak5-Sep-07 2:09 
QuestionWeb Service timeout Pin
Diego F.4-Sep-07 1:33
Diego F.4-Sep-07 1:33 
AnswerRe: Web Service timeout Pin
Kschuler4-Sep-07 4:10
Kschuler4-Sep-07 4:10 
QuestionInstallation of application Pin
Roes1234-Sep-07 0:14
Roes1234-Sep-07 0:14 
AnswerRe: Installation of application Pin
ncjlee4-Sep-07 3:31
ncjlee4-Sep-07 3:31 
GeneralRe: Installation of application Pin
Roes1234-Sep-07 3:41
Roes1234-Sep-07 3:41 
QuestionHowto dynamic call of a method Pin
Stephan Pilz3-Sep-07 23:49
Stephan Pilz3-Sep-07 23:49 
AnswerRe: Howto dynamic call of a method Pin
Guffa3-Sep-07 23:54
Guffa3-Sep-07 23:54 
GeneralRe: Howto dynamic call of a method Pin
Stephan Pilz3-Sep-07 23:57
Stephan Pilz3-Sep-07 23:57 

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.