
Refreshing the system after the system colors have been changed
What method are you using to change the system colors? The Win32 SDK
states for the SetSysColors function:
"The SetSysColors function sends a WM_SYSCOLORCHANGE message to all
windows to inform them of the change in color. It also directs Windows
to repaint the affected portions of all currently visible windows. "
If you're not using SetSysColors, it should solve your problem. If you
already are using SetSysColors, I'm afraid I don't have the answer.
Mike
Quote:
>Can someone please show me how to refresh the system after the system
colors
>have been changed. I have an app that among other things changes the
system
>colors but if I want them to take effect I have to log off windows and
log
>on again.