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

C#

 
GeneralRe: ListView scrolling on clear - add items problem Pin
mav.northwind1-Jul-05 0:54
mav.northwind1-Jul-05 0:54 
GeneralDocking and memory errors Pin
gantww30-Jun-05 4:29
gantww30-Jun-05 4:29 
GeneralRe: Docking and memory errors Pin
mav.northwind30-Jun-05 6:06
mav.northwind30-Jun-05 6:06 
GeneralRe: Docking and memory errors Pin
leppie30-Jun-05 7:54
leppie30-Jun-05 7:54 
GeneralRe: Docking and memory errors Pin
gantww30-Jun-05 9:08
gantww30-Jun-05 9:08 
GeneralRe: Docking and memory errors Pin
Dave Kreskowiak30-Jun-05 9:21
mveDave Kreskowiak30-Jun-05 9:21 
GeneralRe: Docking and memory errors Pin
gantww30-Jun-05 9:53
gantww30-Jun-05 9:53 
GeneralRe: Docking and memory errors Pin
Dave Kreskowiak30-Jun-05 17:34
mveDave Kreskowiak30-Jun-05 17:34 
gantww wrote:
Does this mean I should worry about re-entering the paint method of my form?

If, by this, you mean that your Paint method is calling itself, you've got huge issues. Paint should never call itself recursively.


gantww wrote:
In other words, can it be called from multiple threads (I would think not, since the message loop is single threaded)?

You should NOT be doing this. You can invoke an Invalidate call back on the UI thread, but you should NEVER make a direct call from a thread to a forms Paint code. Bad, and unpredictable, things will happen.


gantww wrote:
I am creating a graphics object in the background however, to enable double-buffering -

You're what? Are you saying that you're creating a Graphics object on a background thread? Bad idea! Graphics objects should only be created on the thread that created the control your painting.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Docking and memory errors Pin
gantww1-Jul-05 1:33
gantww1-Jul-05 1:33 
GeneralRe: Docking and memory errors Pin
Dave Kreskowiak1-Jul-05 2:57
mveDave Kreskowiak1-Jul-05 2:57 
Questionweb services or remoting or what ? Pin
eng.mohamed30-Jun-05 2:55
eng.mohamed30-Jun-05 2:55 
AnswerRe: web services or remoting or what ? Pin
Judah Gabriel Himango30-Jun-05 4:12
sponsorJudah Gabriel Himango30-Jun-05 4:12 
AnswerRe: web services or remoting or what ? Pin
Sebastian Schneider30-Jun-05 4:15
Sebastian Schneider30-Jun-05 4:15 
AnswerRe: web services or remoting or what ? Pin
Adam Goossens30-Jun-05 16:43
Adam Goossens30-Jun-05 16:43 
AnswerRe: web services or remoting or what ? Pin
Matt Gerrans1-Jul-05 4:53
Matt Gerrans1-Jul-05 4:53 
GeneralManaging at Runtime-created Controls in C# Pin
tutah30-Jun-05 2:08
tutah30-Jun-05 2:08 
QuestionHow to add controls to OpenDialog box? Pin
Anonymous30-Jun-05 1:53
Anonymous30-Jun-05 1:53 
AnswerRe: How to add controls to OpenDialog box? Pin
Mattias Olgerfelt30-Jun-05 5:54
Mattias Olgerfelt30-Jun-05 5:54 
GeneralRe: How to add controls to OpenDialog box? Pin
avivag6-Jul-05 0:16
avivag6-Jul-05 0:16 
Generalcombobox contents verify fails Pin
fracalifa30-Jun-05 1:49
fracalifa30-Jun-05 1:49 
GeneralRe: combobox contents verify fails Pin
Guffa30-Jun-05 3:52
Guffa30-Jun-05 3:52 
GeneralThread Pin
Rassul Yunussov30-Jun-05 0:44
Rassul Yunussov30-Jun-05 0:44 
GeneralRe: Thread Pin
Judah Gabriel Himango30-Jun-05 5:27
sponsorJudah Gabriel Himango30-Jun-05 5:27 
GeneralRe: Thread Pin
Rassul Yunussov30-Jun-05 20:10
Rassul Yunussov30-Jun-05 20:10 
GeneralRe: Thread Pin
Judah Gabriel Himango1-Jul-05 5:05
sponsorJudah Gabriel Himango1-Jul-05 5:05 

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.