user32: Only select needed part of the flags.