It's possible that the window of another process "undos" any changes made to it. I know of some programmers who put code in their MFC applications to prevent certain window style changes. I believe the Windows Media Player exhibits this behaviour. If this other process is of your own creation, then you may want to use user-defined messages to invoke certain behaviour.