The information in this article applies to:
SYMPTOMS
SetSysColors can cause inconsistent color changes on SMP systems if windows are repositioned, hidden, made visible, and/or resized immediately after this change. CAUSEBecause SetSysColors sends a WM_SYSCOLORCHANGING message to all top-level windows, which must propagate it to lower-level children, it's possible for a thread with one processor affinity to send a size, position, or show message to a thread with another processor affinity and have it arrive before or after the WM_SYSCOLORCHANGING message. This can cause the window to miss the WM_SYSCOLORCHANGING message. RESOLUTION
This behavior is a consequence of the designed behavior of Windows NT on SMP systems. Applications that make global changes to the system should make no other changes until there has been sufficient time for the original set of changes to take effect.
STATUS
This behavior is by design, because there is no guarantee of synchronicity or determinism in messages sent by different threads. Additional query words:
Keywords : kbNTOS400 kbWinOS2000 kbSDKWin32 kbSysSettings kbGrpUser kbWndwMsg |
Last Reviewed: February 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |