"Mayayana" <mayayana@invalid.nospam> escribió en el mensaje
news:jkkh6n$kap$1@dont-email.me...
> [...] I don't see the logic of Raymond Chen's
> position. He's implying that the system needs to oversee
> and portion out calls to LockWindowUpdate, but I just
> can't think of a scenario where that's relevant. A program
> calling LockWindowUpdate could crash at that moment, but
> so what? It seems that at worst another program couldn't
> call LockWindowUpdate until the frozen program is closed --
> which is hardly an issue.
I think I read that any new call to LockWindowUpdate whatever_hWnd will
unlock the previously locked window.
I mean:
LockWindowUpdate X
LockWindowUpdate Y
LockWindowUpdate 0
is the same that
LockWindowUpdate X
LockWindowUpdate 0
LockWindowUpdate Y
LockWindowUpdate 0
> I'm curious about the issue of other windows flickering.
> Other program windows, or other of your own windows,
> or other control windows within the same window?
> I haven't seen anything like that.
Other programs, the explorer, the IDE.
It's not a lot of flicker, but a clear flicker (you don't need to look for
something imperceptible, it's visible).
And I'm not the only one saying that, I read other guys on forums saying the
same.
BTW, on XP.
> I call LockWindowUpdate
> on the parent window, with AutoRedraw set to False.
> (I think I remember a reason for that, but I can't recall it
> offhand now. :)