Re: XID table and win32

: The reason for this complexity in X11 is the asynchronous
: client/server nature of the setup. After you call XDestroyWindow() you
: can still continue getting events for that window until you
: get the DestroyNotify for that window. I don't imagine that this
: can happen on Win32.

In Win32, DestroyWindow deletes all entries with the
same hwnd in the associated process' message queue,
normally retrieved by GetMessage.  DestroyWindow however
does send the WM_DESTROY message before returning.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]