Re: Drop WM_ERASEBKGND handling in gdkevents-win32.c?
- From: Tor Lillqvist <tml iki fi>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Drop WM_ERASEBKGND handling in gdkevents-win32.c?
- Date: Tue, 22 Mar 2005 02:53:23 +0200
Owen Taylor writes:
> There is a third possible issue - if you are moving another window over
> a window, does windows send:
>
> ERASEBKGND
> ERASEBKGND
> ERASEBKGND
> PAINT
>
> Or is ERASEBKGN only sent immediately before PAINT?
If I understand correctly, WM_ERASEBKGND is sent when you call
BeginPaint() (during handling of WM_PAINT), not directly, so the
window procedure gets invoked recursively. (Not uncommon at all.)
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]