Hallo Matti,
Zitat:
Bitte das Freigeben der Region(en) nicht vergessen
normalerweise ja, in diesem Fall aber nicht:
Zitat von
Microsoft PSDK:
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.
Gruß Hawkeye