Try reading the window details (GetWindowLong IIRC) and combining the flags you want/don't want with that result.
You might also need to update/refresh the window afterwards (can't remember offhand). The SetWindowLong docs say something along these lines.
You might also need to update/refresh the window afterwards (can't remember offhand). The SetWindowLong docs say something along these lines.