Einzelnen Beitrag anzeigen

TurboMagic

Registriert seit: 28. Feb 2016
Ort: Nordost Baden-Württemberg
2.936 Beiträge
 
Delphi 12 Athens
 
#26

AW: Delphi 12: Fehler mit Action := caFree

  Alt 4. Dez 2023, 20:17
Hello,

in the VCL somewhere there is sort of a message processing loop.
It calls GetMessage from Windows API.

If you use a control which internally directly uses a Windows own
control that will fire its events on receiving the apropriate messages.

If you block the main thread it cannot process this message loop pointed above
and thus the GUI looks non responsive, as messages like WM_PAINT are not handled.

That's the base. More details can be found in Petzold's "Programming Windows"
book. At least in the old versions.

Cheers

TurboMagic
  Mit Zitat antworten Zitat