AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein GUI-Design mit VCL / FireMonkey / Common Controls Delphi Verständnisfrage zu Update,Invalidate,Repaint
Thema durchsuchen
Ansicht
Themen-Optionen

Verständnisfrage zu Update,Invalidate,Repaint

Offene Frage von "p80286"
Ein Thema von p80286 · begonnen am 30. Apr 2010 · letzter Beitrag vom 3. Mai 2010
 
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.378 Beiträge
 
Delphi 12 Athens
 
#4

Re: Verständnisfrage zu Update,Invalidate,Repaint

  Alt 3. Mai 2010, 11:53
Zitat von p80286:
Ich habe den Verdacht, daß das Repaint eine Kombination aus Invalidate/Update und Application.Processmessages ist, da ich meine beobachtet zu haben, daß ein Repaint sofort ausgefühert wird,
Delphi-Quellcode:
procedure TWinControl.Repaint;
begin
  Invalidate;
  Update;
end;
"Invalidate/Update" stimmt also schonmal
und Update ruft quasi die Methoden für's Neuzeichnen direkt auf, weßhalb daher natürlich die Änderungen auch sofort sichtbar sind.


[add]
The MSDN-Library durchsuchenInvalidateRect function adds a rectangle to the specified window's update region. The update region represents the portion of the window's client area that must be redrawn.

The MSDN-Library durchsuchenUpdateWindow function updates the client area of the specified window by sending a WM_PAINT message to the window if the window's update region is not empty. The function sends a WM_PAINT message directly to the window procedure of the specified window, bypassing the application queue. If the update region is empty, no message is sent.
Ein Therapeut entspricht 1024 Gigapeut.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:12 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz