Click here to Skip to main content
15,911,891 members
Home / Discussions / C#
   

C#

 
QuestionBar code component connect to computer? Pin
notIdea15-Mar-06 14:43
notIdea15-Mar-06 14:43 
AnswerRe: Bar code component connect to computer? Pin
mcljava15-Mar-06 18:21
mcljava15-Mar-06 18:21 
QuestionI’m a c++ guy and C#’s List scares me. Pin
Julien15-Mar-06 12:37
Julien15-Mar-06 12:37 
GeneralRe: I’m a c++ guy and C#’s List scares me. Pin
George L. Jackson15-Mar-06 17:54
George L. Jackson15-Mar-06 17:54 
GeneralRe: I’m a c++ guy and C#’s List scares me. Pin
Julien15-Mar-06 18:25
Julien15-Mar-06 18:25 
QuestionDatagrid help Pin
bazzanewt15-Mar-06 11:56
bazzanewt15-Mar-06 11:56 
AnswerRe: Datagrid help Pin
Robert Rohde15-Mar-06 18:28
Robert Rohde15-Mar-06 18:28 
QuestionCapture mouse with transparent forms Pin
AbyssNOLF15-Mar-06 9:37
AbyssNOLF15-Mar-06 9:37 
Is there a way to capture mouse input on a form made transparent via the TransparencyKey?


The same problem, a different type of solution:

I have a custom user control designed that has a transparent background using the following technique:

protected override void OnPaintBackground(PaintEventArgs e)
{ //base.OnPaintBackground(e);
}


//add transparent property
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x20;
return cp;
}
}

This effectively stops the program from drawing the background of the control, so the painted object is drawn on a transparent background. However, when repaint the object in a different position on the control, the old image remains (because the background was not redrawn to erase the old image). The image changes with every mouse move, so I need an effecient way to erase the old image while preserving transparency.

A lot of methods to erase the old image, ie, erase the control and start with a clean slate, destroy the transparent effect.



Any thoughts anywhere?
AnswerAny help please? Pin
AbyssNOLF17-Mar-06 5:28
AbyssNOLF17-Mar-06 5:28 
QuestionWhy will LINQ fail ? Pin
erdsah8815-Mar-06 8:47
erdsah8815-Mar-06 8:47 
QuestionWhy will LINQ fail ? Pin
erdsah8815-Mar-06 8:46
erdsah8815-Mar-06 8:46 
AnswerRe: Why will LINQ fail ? Pin
Judah Gabriel Himango15-Mar-06 8:58
sponsorJudah Gabriel Himango15-Mar-06 8:58 
QuestionNew window in application Pin
conrado715-Mar-06 8:35
conrado715-Mar-06 8:35 
AnswerRe: New window in application Pin
DougW4815-Mar-06 11:05
DougW4815-Mar-06 11:05 
GeneralRe: New window in application Pin
conrado715-Mar-06 11:33
conrado715-Mar-06 11:33 
Questionclosing forms Pin
Vineet Rajan15-Mar-06 6:52
Vineet Rajan15-Mar-06 6:52 
AnswerRe: closing forms Pin
DougW4815-Mar-06 7:30
DougW4815-Mar-06 7:30 
QuestionConvert VB.NET 2005 to C#.NET 2005 Pin
yesufollower15-Mar-06 5:51
yesufollower15-Mar-06 5:51 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Ed.Poore15-Mar-06 6:34
Ed.Poore15-Mar-06 6:34 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Joe Woodbury15-Mar-06 7:46
professionalJoe Woodbury15-Mar-06 7:46 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Daniel Grunwald15-Mar-06 8:27
Daniel Grunwald15-Mar-06 8:27 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
mcljava15-Mar-06 11:43
mcljava15-Mar-06 11:43 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
mcljava15-Mar-06 12:16
mcljava15-Mar-06 12:16 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Dave Doknjas15-Mar-06 13:48
Dave Doknjas15-Mar-06 13:48 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
angelagke15-Mar-06 15:40
angelagke15-Mar-06 15:40 

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.