Einzelnen Beitrag anzeigen

HolgerX

Registriert seit: 10. Apr 2006
Ort: Leverkusen
961 Beiträge
 
Delphi 6 Professional
 
#10

AW: BackgroundColor von eigener Klasse weitergeben (ParentColor)

  Alt 9. Sep 2015, 14:22
Und nicht vergessen, die Region nach Gebrauch mit DeleteObject wieder zu entsorgen
Leider falsch!!!!!!!

https://msdn.microsoft.com/de-de/lib...(v=vs.85).aspx

Zitat:
After a successful call to SetWindowRgn, the system owns the region specified by the region handle hRgn. The system does not make a copy of the region. Thus, you should not make any further function calls with this region handle. In particular, do not delete this region handle. The system deletes the region handle when it no longer needed.
  Mit Zitat antworten Zitat