Einzelnen Beitrag anzeigen

Benutzerbild von BlackJack
BlackJack

Registriert seit: 2. Jul 2005
Ort: Coesfeld
246 Beiträge
 
Delphi 2005 Personal
 
#8

Re: Bildändern (StretchDraw, StretchBlt) nicht Thread-sicher

  Alt 3. Jul 2005, 20:43
die stellen mit "//HIER wird gemalt" müsstest du in eine extra procedure packen, und diese dann mit
Code:
Syncronize(Proc);
aufrufen.
informier dich ansonsten nochmal in der Hlife über die funktionsweise von TThread.Syncronize().
See my shadow changing, stretching up and over me.
Soften this old armor. Hoping I can clear the way
By stepping through my shadow, coming out the other side.
Step into the shadow. Forty six and two are just ahead of me.
  Mit Zitat antworten Zitat