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

C#

 
AnswerRe: handle events in C# from a dll ?(writing a wrapper class) Pin
Jun Du31-Aug-06 8:51
Jun Du31-Aug-06 8:51 
QuestionArrays: Unknown default value?? Pin
Goalie3531-Aug-06 5:53
Goalie3531-Aug-06 5:53 
AnswerRe: Arrays: Unknown default value?? Pin
Dave Kreskowiak31-Aug-06 6:01
mveDave Kreskowiak31-Aug-06 6:01 
AnswerRe: Arrays: Unknown default value?? Pin
Nader Elshehabi31-Aug-06 6:01
Nader Elshehabi31-Aug-06 6:01 
AnswerRe: Arrays: Unknown default value?? Pin
Jun Du31-Aug-06 6:04
Jun Du31-Aug-06 6:04 
QuestionHow to detect overlapping windows Pin
pliu_200031-Aug-06 5:44
pliu_200031-Aug-06 5:44 
AnswerRe: How to detect overlapping windows Pin
Jun Du31-Aug-06 5:59
Jun Du31-Aug-06 5:59 
GeneralRe: How to detect overlapping windows Pin
pliu_200031-Aug-06 6:14
pliu_200031-Aug-06 6:14 
What I have done is set a flag while adding a new item. I have also overridden the WndProc to stop it erasing the background and invalidates the new items rectangle. When the flag is set, only the new items rectangle is repainted and not the whole control

However, the effect when a window overlaps my control while this flag is set is that the background is not repainted as my WndProc prevents this. Therefore, I need to somehow detect when a window overlaps my control so that I can tell WndProc to allow the background to be repainted.

I hope this explains my problem. Please feel free to make suggestions on how to do this or a better approach

Thanks again

Peter
AnswerRe: How to detect overlapping windows Pin
Josh Smith31-Aug-06 6:18
Josh Smith31-Aug-06 6:18 
GeneralRe: How to detect overlapping windows Pin
pliu_200031-Aug-06 6:33
pliu_200031-Aug-06 6:33 
QuestionWindows service Pin
kjosh31-Aug-06 5:08
kjosh31-Aug-06 5:08 
AnswerRe: Windows service Pin
John Petersen31-Aug-06 5:24
John Petersen31-Aug-06 5:24 
AnswerRe: Windows service Pin
scott_hackett31-Aug-06 5:44
scott_hackett31-Aug-06 5:44 
QuestionNDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 5:02
sharath nelaturu31-Aug-06 5:02 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Dave Kreskowiak31-Aug-06 6:00
mveDave Kreskowiak31-Aug-06 6:00 
GeneralRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 6:29
sharath nelaturu31-Aug-06 6:29 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Glen Harvy31-Aug-06 13:01
Glen Harvy31-Aug-06 13:01 
QuestionAdding new rows with data that has whitespaces to DataTable with unique constraint Pin
Nigor31-Aug-06 4:31
Nigor31-Aug-06 4:31 
QuestionLogging onto Exchange server using CDO Pin
dabs31-Aug-06 4:26
dabs31-Aug-06 4:26 
QuestionDiscover Changes in AD User Object? Pin
tombryan31-Aug-06 4:09
tombryan31-Aug-06 4:09 
QuestionDataGridView in C# Pin
peshawarcoder31-Aug-06 4:02
peshawarcoder31-Aug-06 4:02 
AnswerRe: DataGridView in C# Pin
Robert Rohde31-Aug-06 5:12
Robert Rohde31-Aug-06 5:12 
GeneralRe: DataGridView in C# Pin
peshawarcoder31-Aug-06 19:06
peshawarcoder31-Aug-06 19:06 
QuestionRegex.Replace Chr(10) Pin
J Liang31-Aug-06 4:01
J Liang31-Aug-06 4:01 
AnswerRe: Regex.Replace Chr(10) [modified] Pin
John Petersen31-Aug-06 5:14
John Petersen31-Aug-06 5:14 

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.